Skip to content

Commit

Permalink
Use github-token when pushing changes from bumpversion (#511)
Browse files Browse the repository at this point in the history
### What kind of change does this PR introduce?

* Adds a missing token needed to allow push access from workflow

### Does this PR introduce a breaking change?

No.
  • Loading branch information
Zeitsperre authored Jan 20, 2025
2 parents 9925181 + 994594a commit 79c527e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
token: ${{ steps.token_generator.outputs.token }}
persist-credentials: false
- name: Set up Python3
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
Expand Down Expand Up @@ -96,5 +96,6 @@ jobs:
- name: Push Changes
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # v0.8.0
with:
force: false
branch: ${{ github.ref }}
force: false
github_token: ${{ steps.token_generator.outputs.token }}

0 comments on commit 79c527e

Please sign in to comment.