Skip to content

Commit

Permalink
revert back to use bot token
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopar committed Oct 3, 2023
1 parent 35daf3f commit 258c681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.BOT_GITHUB_TOKEN }}

- name: Set Up JDK 17
uses: actions/setup-java@v3
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:

- name: Release new version on GitHub
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
JRELEASER_PROJECT_VERSION: ${{ steps.new_version.outputs.next-version }}
uses: jreleaser/release-action@v2
with:
Expand All @@ -141,7 +141,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.BOT_GITHUB_TOKEN }}

- name: Update next development version in POMs
run: mvn versions:set -DnewVersion=${{ needs.release.outputs.next-version }}-SNAPSHOT -DgenerateBackupPoms=false
Expand Down

0 comments on commit 258c681

Please sign in to comment.