Question: How to make this work with protected branch #127
Replies: 2 comments 4 replies
-
@xiaomi7732 Nope. it wont work. Protected branches cannot be pushed directly, It is a github feature. You should open a PR to update it. Just disable branch protection if you want to use the action and to do the automated updates. |
Beta Was this translation helpful? Give feedback.
-
@xiaomi7732 if you are an admin in the repository in the question you can proably try passing the PAT token to the github action using gh_token key. Create one from here: https://github.com/settings/tokens and add it to your own repositorie's secrets as
|
Beta Was this translation helpful? Give feedback.
-
Error log when the target branch is protected, what is the way to set it up to make it work?
Beta Was this translation helpful? Give feedback.
All reactions