You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Admins can bypass the branch protection rules on gh-pages, which allows for accidental direct pushes to that branch. We can't enable bypass protection because deployment happens through deploy key, which acts as an administrator.
The root of the problem is that GitHub has poor support for making GitHub Actions-only branches. See https://github.com/orgs/community/discussions/13836. There are some workarounds available, such as using a GitHub App or bot-only account for deploys and allowing it to bypass protection.
The text was updated successfully, but these errors were encountered:
Admins can bypass the branch protection rules on
gh-pages
, which allows for accidental direct pushes to that branch. We can't enable bypass protection because deployment happens through deploy key, which acts as an administrator.The root of the problem is that GitHub has poor support for making GitHub Actions-only branches. See https://github.com/orgs/community/discussions/13836. There are some workarounds available, such as using a GitHub App or bot-only account for deploys and allowing it to bypass protection.
The text was updated successfully, but these errors were encountered: