Open navachaitanyak opened 6 months ago
We can the Bypass list of the Rules for this case, I think. Could you try it?
If you want to stay to use the Branch protection rule, the Restrict who can push to matching branches
is available instead.
Rules | Branch protection rule |
---|---|
@peaceiris
We are already using Restrict who can push to matching branches
and added the TOKEN user, however, the action still considering the triggering actor and creating a runner token for the triggering actor only, even though we pass the Enterprise token, Hope you consider this situation and add a feature to make use of Enterprise Token without creating a Runner token
I got it. We need to use the personal_token
input instead.
https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-set-personal-access-token-personal_token
Checklist
Describe your question
I'm trying to push the docs directory to the gh-pages branch. Since the gh-pages branch is protected with 1 reviewer, I cannot push anything to the gh-pages branch also I want to use a token created in Enterprise GitHub and I don't want to use github_token instead I would like to use my token which was created by the enterprise owner on enterprise GitHub
Relevant links
Relevant log output
Additional context.
I want to use the token at organisational level and don't want to use the token created by the runner