I have integration & staging branches that are protected.
The main reason why they are protected is to be able to use CI/CD variables.
I need to keep them up to date with maser, for this purpose I use git rebase.
After that I need to do force push, but as these branches are protected I need to first unprotect them, force push, and them protect them again.
To me it doesn’t seem like an optimal workflow…
What am I doing wrong? Is there any way to avoid these repetitive steps?