Skip to content

Commit a7b1ee6

Browse files
committed
[CI] Remove redundant GH secret
1 parent 19a71d4 commit a7b1ee6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ jobs:
133133
releaseVersion: $VERSION
134134
secrets:
135135
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
136-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
137136
- name: Update to next Snapshot Version
138137
run: |
139138
echo "Updating $REPO@$VERSION to next snapshot version."

.github/workflows/github-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
secrets:
1111
GH_ACTIONS_REPO_TOKEN:
1212
required: true
13-
GITHUB_TOKEN:
14-
required: true
13+
1514
jobs:
1615
github-release:
1716
if: github.repository == 'spring-projects-experimental/spring-pulsar'
@@ -32,7 +31,7 @@ jobs:
3231
curl -sSL https://github.com/cbroglie/mustache/releases/download/v1.2.2/mustache_1.2.2_linux_amd64.tar.gz | sudo tar -C /usr/local/bin/ --no-same-owner -xzv mustache
3332
- name: Create Release
3433
env:
35-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
GITHUB_TOKEN: ${{secrets.GH_ACTIONS_REPO_TOKEN}}
3635
RELEASE_NOTES_ISSUES: ${{runner.temp}}/release_notes_issues.json
3736
RELEASE_NOTES_FILE: ${{runner.temp}}/release_notes.md5
3837
run: |

0 commit comments

Comments
 (0)