From 458b2159cba8f8c1489dcdb7b638a642c5a2f9ef Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Thu, 18 Apr 2024 09:05:20 +0200 Subject: [PATCH] fix: Rename gh token prop Signed-off-by: Martin Buchleitner --- .github/workflows/changelog-automation.yml | 1 + .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changelog-automation.yml b/.github/workflows/changelog-automation.yml index ff5601f..b47fba5 100644 --- a/.github/workflows/changelog-automation.yml +++ b/.github/workflows/changelog-automation.yml @@ -17,5 +17,6 @@ jobs: release: needs: [ prebuild ] + if: github.event_name != 'pull_request' uses: ./.github/workflows/release.yml secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8cb157d..86f056e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: if: github.event_name != 'pull_request' id: generate_changelog env: - github-token: ${{ secrets.BOT_ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} with: semantic_version: 23.0.2 extra_plugins: |