[CI] Remove redundant GH secret

This commit is contained in:
Chris Bono
2022-09-18 23:37:02 -05:00
parent 19a71d4629
commit a7b1ee6c05
2 changed files with 2 additions and 4 deletions

View File

@@ -133,7 +133,6 @@ jobs:
releaseVersion: $VERSION
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update to next Snapshot Version
run: |
echo "Updating $REPO@$VERSION to next snapshot version."

View File

@@ -10,8 +10,7 @@ on:
secrets:
GH_ACTIONS_REPO_TOKEN:
required: true
GITHUB_TOKEN:
required: true
jobs:
github-release:
if: github.repository == 'spring-projects-experimental/spring-pulsar'
@@ -32,7 +31,7 @@ jobs:
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
- name: Create Release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_ACTIONS_REPO_TOKEN}}
RELEASE_NOTES_ISSUES: ${{runner.temp}}/release_notes_issues.json
RELEASE_NOTES_FILE: ${{runner.temp}}/release_notes.md5
run: |