-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use personal token for inc version
- Loading branch information
1 parent
982d996
commit 92e11bd
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,14 @@ on: | |
required: false | ||
default: '' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
version-bump: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.MY_PAT }} | ||
|
||
- name: Calculate Version | ||
id: version-bump | ||
|
@@ -40,4 +37,4 @@ jobs: | |
git config --global user.email '[email protected]' | ||
git add build.gradle | ||
git commit -m "build: Set version to ${{ steps.version-bump.outputs.new_version }}" -m "${{ steps.version-bump.outputs.changelog }}" | ||
git push | ||
git push -f |