From 61e03fcb70d89629acebb077e206507703a94ef0 Mon Sep 17 00:00:00 2001 From: David Zager Date: Wed, 7 Feb 2024 13:35:44 -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 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