From 0ac8440f084f003fd62c8434ed61458439cd6ccc Mon Sep 17 00:00:00 2001 From: Thomas Turrell-Croft Date: Wed, 26 Nov 2025 01:37:31 +0000 Subject: [PATCH 1/2] Upgrade checkout action from v4 to v6 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9905bfdb..ddb3ff60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ steps.target_branch.outputs.target_branch }} fetch-depth: 0 From afeb49ad3b1b2b1ad7064dab4681e27c35e0bb1f Mon Sep 17 00:00:00 2001 From: Thomas Turrell-Croft Date: Wed, 26 Nov 2025 01:45:34 +0000 Subject: [PATCH 2/2] Refactor GITHUB_TOKEN in release workflow Updated GITHUB_TOKEN usage to reference secrets. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ddb3ff60..b278ea7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -226,7 +226,7 @@ jobs: - name: Upload release assets env: - GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | TAG_NAME="${{ github.event.release.tag_name }}" for FILE in artifacts/*; do @@ -236,7 +236,7 @@ jobs: - name: Publish GitHub release env: - GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | TAG_NAME="${{ github.event.release.tag_name }}" echo "Publishing draft release for $TAG_NAME"