From 83b5b1be58ad2531ef3cffce4137a2a0b108e999 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Mon, 19 Aug 2024 20:55:31 +0000 Subject: [PATCH 1/2] try --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 642c6b5..22fac16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,8 @@ jobs: uses: actions/checkout@v4 - name: Comment on PRs - uses: rdlf0/comment-released-prs-action@v1 + uses: apexskier/github-release-commenter@v1 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - comment-body: "🎉 Hooray! 🎊 This is now part of [{{name}}]({{html_url}}) ✨" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + comment-template: | + Release {release_link} addresses this. From c9f2ed2ca0410bdfe4bbbc93ce1284fe7d646ba2 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Mon, 19 Aug 2024 20:58:16 +0000 Subject: [PATCH 2/2] another try --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22fac16..8cca5cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ jobs: - name: Comment on PRs uses: apexskier/github-release-commenter@v1 + if: github.event.release.prerelease == false with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} comment-template: |