From ea6e646ed65b166a705ff921a7f3331e2a8356ab Mon Sep 17 00:00:00 2001 From: David Zager Date: Wed, 7 Feb 2024 13:31:11 -0500 Subject: [PATCH] :seedling: reconcile github issue(-comment)s 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