Skip to content

Commit

Permalink
build: Use personal token for inc version
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriytkach committed Dec 5, 2023
1 parent 982d996 commit 92e11bd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/increment-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 92e11bd

Please sign in to comment.