-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95099cd
commit dfc3f13
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
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this new update causes my pipeline to fail:
I am using a PAT for my GITHUB_TOKEN for my action.
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted: https://github.com/phips28/gh-action-bump-version/releases/tag/v10.0.3
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh - I am using a Github App for that and works for me, sorry about that :/
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@linxiano π
Could you please send me a snippet of your GHA configuration? I am just curious π
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, its used as a reusable workflow. main branch is protected so a PAT is used to allow the bump version to push to the main branch without needing a PR.
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dsotirakis - How are you using a GitHub App for the token?
I've tried using a token from a Github app that has write permission instead of a PAT , however it fails when the branch is protected. (it works when the branch is not protected)
dfc3f13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I figured it out. I had to allow the Github App to bypass certain branch protections at more than 1 place.