From 046ccf63667e22bb3ede709021fb023c42bf73ff Mon Sep 17 00:00:00 2001 From: David Zager Date: Fri, 9 Feb 2024 15:27:43 -0500 Subject: [PATCH] :seedling: reconcile github issue(-comment)s (#1679) 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 000000000..42c249740 --- /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