PRs are mergeable with check runs failing and no approvals in this repository
oscard0m opened this issue Β· comments
That's because part of the release is a git push to the default branch. We would need to use an admit PAT if we were to enable branch protections for the *-action
repositories.
So the steps would be:
- Replace GITHUB_TOKEN in
release.yml
env:
- GITHUB_TOKEN: ${{ secrets.GR2M_PAT_FOR_SEMANTIC_RELEASE }}
+ GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
- Enable branch protection settings in the repository.
Is this correct?
Is secrets.OCTOKITBOT_PAT
available at Org level?
we would need to make @octokitbot an admin in this repo, but maybe that's the simplest solution, let's do it ππΌ I'll update the repository settings, can you update release.yml
? Let's do the same for https://github.com/octokit/graphql-action
π This issue has been resolved in version 2.1.6 π
The release is available on GitHub release
Your semantic-release bot π¦π