From 85727248f215e95eb33bc35dd822f1f00d3ff54e Mon Sep 17 00:00:00 2001 From: David Zager Date: Mon, 15 Apr 2024 14:06:32 -0400 Subject: [PATCH] :seedling: reconcile github issue(-comment)s (#43) 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