GitHub hasn't created a suitable permission schema to let GitHub actions make changes to protected branches. PAT is the main solution other than managing changes with PRs. See the community discussion for more details.
I created a fine-grained token in my repo fork to test pushing to a protected branch:
GitHub hasn't created a suitable permission schema to let GitHub actions make changes to protected branches. PAT is the main solution other than managing changes with PRs. See the community discussion for more details.
I created a fine-grained token in my repo fork to test pushing to a protected branch: