Skip to content

Commit 5804bf2

Browse files
committed
Use fine-grained access token to read/write samples repo during release
1 parent 5fc8207 commit 5804bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8282
with:
8383
repository: ${{ github.repository_owner }}/junit5-samples
84-
token: ${{ secrets.GH_TOKEN }}
84+
token: ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_SAMPLES_REPO }}
8585
fetch-depth: 1
8686
path: junit5-samples
8787
- name: Set up JDK
@@ -242,7 +242,7 @@ jobs:
242242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
243243
with:
244244
repository: ${{ github.repository_owner }}/junit5-samples
245-
token: ${{ secrets.GH_TOKEN }}
245+
token: ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_SAMPLES_REPO }}
246246
fetch-depth: 1
247247
- name: Set up JDK
248248
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1

0 commit comments

Comments
 (0)