Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit 85a1e1f

Browse files
committed
Add GITHUB_TOKEN ENV var for release workflow
1 parent 62f94ac commit 85a1e1f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/spring-artifactory-gradle-release-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- uses: actions/checkout@v4
3838
with:
39-
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
39+
token: $GITHUB_TOKEN
4040
show-progress: false
4141

4242
- name: Set up Gradle

.github/workflows/spring-artifactory-maven-release-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: actions/checkout@v3
3232
with:
33-
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
33+
token: $GITHUB_TOKEN
3434
show-progress: false
3535

3636
- name: Set up JDK

.github/workflows/spring-artifactory-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
required: false
99
type: string
1010

11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
13+
1114
jobs:
1215
releaseVersion:
1316
runs-on: ubuntu-latest

.github/workflows/spring-finalize-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
env:
1212
MILESTONE: ${{ inputs.milestone }}
13-
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
1413

1514
jobs:
1615
finalize-releae:

0 commit comments

Comments
 (0)