From bc6cf9a702f22a368d553bc05107fff169f10a9d Mon Sep 17 00:00:00 2001 From: chriskarlin Date: Sun, 30 Jul 2023 18:54:33 -0400 Subject: [PATCH 1/2] ci: add workflow file for release contribution notifier --- .github/workflows/release-notifier.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release-notifier.yml diff --git a/.github/workflows/release-notifier.yml b/.github/workflows/release-notifier.yml new file mode 100644 index 0000000000..1204a71275 --- /dev/null +++ b/.github/workflows/release-notifier.yml @@ -0,0 +1,20 @@ +name: Release Contribution Notifier + +on: + release: + types: [published] + +jobs: + release: + name: Release Commenter + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - uses: apexskier/github-release-commenter@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + comment-template: | + {author}: Your PR is part of today's Human Essentials production release: {release_link}. + Thank you very much for your contribution! \ No newline at end of file From 297051f36174dbb8337847ba8ea83f52dc090361 Mon Sep 17 00:00:00 2001 From: chriskarlin Date: Mon, 9 Oct 2023 13:54:01 -0400 Subject: [PATCH 2/2] Use own fork of github-release-commenter --- .github/workflows/release-notifier.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-notifier.yml b/.github/workflows/release-notifier.yml index 1204a71275..b83763c232 100644 --- a/.github/workflows/release-notifier.yml +++ b/.github/workflows/release-notifier.yml @@ -11,10 +11,11 @@ jobs: permissions: contents: read pull-requests: write + issues: write steps: - - uses: apexskier/github-release-commenter@v1 + - uses: chriskarlin/github-release-commenter@v1.3.2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} comment-template: | - {author}: Your PR is part of today's Human Essentials production release: {release_link}. - Thank you very much for your contribution! \ No newline at end of file + @{author}: Your PR/Issue `{title}` is part of today's Human Essentials production release: {release_link}. + Thank you very much for your contribution!