From 22613967657f9fa2289272fc2c6396f34dac82d7 Mon Sep 17 00:00:00 2001 From: David Zager Date: Thu, 8 Feb 2024 11:41:37 -0500 Subject: [PATCH] :seedling: reconcile github issue(-comment)s (#303) Signed-off-by: David Zager --- .github/workflows/issues.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/issues.yaml diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml new file mode 100644 index 0000000..42c2497 --- /dev/null +++ b/.github/workflows/issues.yaml @@ -0,0 +1,30 @@ +name: Reconcile GitHub Issue (Comment) + +on: + issues: + types: + - opened + - edited + - closed + - reopened + - labeled + - unlabeled + issue_comment: + types: + - created + - edited + +concurrency: + group: reconcile-issue-${{ github.event.issue.number }}-${{ github.event_name }} + cancel-in-progress: true + +jobs: + reconcile-issue: + if: github.event_name == 'issues' || github.event_name == 'pull_request' + secrets: inherit + uses: konveyor/release-tools/.github/workflows/reconcile-issue.yaml@main + + reconcile-issue-comment: + if: github.event_name == 'issue_comment' + secrets: inherit + uses: konveyor/release-tools/.github/workflows/reconcile-issue-comment.yaml@main