← Back
GitHub
GitHub adds optional approval bypass for Copilot agent Actions workflows

Faster Feedback Loop for Copilot-Generated Code

When the Copilot coding agent opens pull requests or pushes code changes, GitHub Actions workflows previously required explicit human approval before execution. This was a deliberate safety measure to prevent unauthorized access to tokens, secrets, and repository permissions that workflows may contain.

However, this approval requirement created friction in the development workflow—developers had to wait for manual approval to see whether tests passed or if the generated code was valid. For teams willing to accept the security tradeoff, this overhead slowed down the feedback loop.

New Optional Setting for Repository Administrators

GitHub has now added a repository-level setting that allows administrators to bypass the approval requirement for Copilot-triggered workflows. When enabled, Actions workflows will run immediately upon being triggered by the Copilot agent, without waiting for human approval.

Key details:

  • Default behavior unchanged: Approval remains required by default to maintain security posture
  • Opt-in mechanism: Only repository administrators can enable the bypass
  • Immediate workflow execution: When enabled, workflows triggered by Copilot run automatically
  • Risk-aware: The feature is intended for teams that have assessed and accepted the security implications

Configuration and Next Steps

Repository administrators can configure this setting in the Copilot coding agent settings. This is particularly useful for internal repositories or projects where developers have higher trust in automation and want to iterate more rapidly on AI-generated code.

For detailed instructions on configuring this and other Copilot agent settings, see the GitHub documentation on "Configuring settings for GitHub Copilot coding agent".