Skip to content

Commit 57c0e6c

Browse files
fix: releases use the correct secret
1 parent 9deb401 commit 57c0e6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ jobs:
55
publish:
66
name: Install and publish
77
runs-on: ubuntu-latest
8+
permissions:
9+
id-token: write
10+
contents: write # allows this workflow to commit to the repo
811
steps:
912
- name: Checkout
1013
uses: actions/checkout@v5
@@ -72,4 +75,4 @@ jobs:
7275
chmod +x ./scripts/add_build_number.sh
7376
yarn release --increment=$(cat version.txt)
7477
env:
75-
GITHUB_TOKEN: ${{ secrets.REPO_PAT }}
78+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)