Questions tagged [protected-branches]
4 questions
7
votes
1 answer
Github: Pushing to protected branches with fine-grained token
I'm using semantic release in a Github repository to create automatic releases on push.
The release needs to commit package.json and CHANGELOG.md to my protected branch.
I used to provide a personal token from my admin account to allow…

Th3S4mur41
- 1,930
- 1
- 13
- 28
0
votes
0 answers
Only allow administrators to bypass required reviews, and not bypass entire PR process
We have a GitHub repository to which multiple users have access. The idea is that everyone must create a pull request before merging to the main branch, rather than committing and pushing directly to it.
I would like to enable required reviews for…

theo
- 149
- 8
0
votes
0 answers
Creating Gitlab project by terraform provider provides error Error: error while waiting for branch to reach 'protected' status
I want to implement deploying repositories and groups on my self-managed Gitlab by a Terraform provider gitlabhq/gitlab. But I have this error:
╷
│ Error: error while waiting for branch to reach 'protected' status, json: cannot unmarshal array into…

Kyrylo
- 45
- 1
- 6
0
votes
0 answers
Update new imageTag in values.yaml for ArgoCD Deployment without git push to a protected branch
I have my workflow in Github Actions which builds the Docker Image & Tags it. In the next Job I am updating the image_tag in the values.yaml as below,
sed -i -e 's/imageTag: .*/'"imageTag: $image_tag/" ./charts/$values.yaml
Commit the change & git…

saikumar reddy
- 89
- 2
- 9