From 6f5ffcb1f871c07b0e4e3c264dd699ee85e77d19 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Mon, 29 Jul 2024 18:06:05 -0700 Subject: [PATCH] Add: workflow to close issues on release --- .github/workflows/close-issues-on-release.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/close-issues-on-release.yml diff --git a/.github/workflows/close-issues-on-release.yml b/.github/workflows/close-issues-on-release.yml new file mode 100644 index 00000000..679d43f4 --- /dev/null +++ b/.github/workflows/close-issues-on-release.yml @@ -0,0 +1,20 @@ +name: Close fixed issues on release. +on: + release: + types: [published] + +permissions: + contents: read + issues: write + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - name: Close issues marked as fixed upon a release. + uses: gcampbell-msft/fixed-pending-release@7fa1b75a0c04bcd4b375110522878e5f6100cff5 + with: + label: awaiting-release + removeLabel: true + applyToAll: true + message: Fixed in [${releaseTag}](${releaseUrl}).