Avoid "workflows awaiting approval" when copilot agent create PRs #167493
Replies: 10 comments 9 replies
-
|
Hello Aj , To allow Copilot PRs to run actions without manual approval, you can: Go to Settings → Actions → General Under “Fork pull request workflows”, set to: 🔓 “Require approval for all outside collaborators” → Off Or enable “Run workflows from fork pull requests without approval” (not always recommended for security) Alternatively, convert Copilot-generated PRs into PRs from a trusted internal branch (instead of a fork), where workflows run normally. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Would love a non LLM answer, the above replies makes no sense |
Beta Was this translation helpful? Give feedback.
-
|
GitHub treats Copilot PRs as coming from an untrusted fork every time, so it always needs manual approval. There's no setting to bypass that. Even after merging one, it won’t remember it. Only fix is to stop using Copilot's forked PRs and push changes from a trusted branch instead. |
Beta Was this translation helpful? Give feedback.
-
|
GitHub Copilot’s workflow runs are treated as first-time contributors, so approval is needed each time. There’s no current setting to auto-approve its actions—only way is to relax fork workflow approval or keep approving manually. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
It sounds like this might be related to how GitHub treats Copilot Agent Mode in relation to workflow permissions. Even after merging the first PR, Copilot may still be considered an external contributor in the context of Actions security, which is why it keeps requiring approval. From my experience, there isn’t currently a dedicated setting to whitelist Copilot so it can run Actions without manual approval. The “Require approval for first-time contributors” rule only applies to human accounts, and Copilot seems to bypass that classification. If possible, it would be great to have an option in repository settings to explicitly trust Copilot as a contributor so its PRs can run workflows automatically — this would save a lot of manual approvals during iterative work. |
Beta Was this translation helpful? Give feedback.
-
|
Ok
…On Mon, Aug 11, 2025, 4:16 PM KnightNiwrem ***@***.***> wrote:
To be fair, you don't need such an option to exist, if one simply wanted
workflows to run without approval.
The solution is simple. Just merge the PR and let the push/commit trigger
activate the workflow.
The only difference is whether you comment on copilot's PR on a failing
manual workflow, or you create a new issue referencing that the previous PR
fails the automatic workflow after merge.
—
Reply to this email directly, view it on GitHub
<#167493 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKUAKAULXT4GCVZWYFCWOZT3NB3Q3AVCNFSM6AAAAACCLESW62VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBXGA2TINI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Hi! What is the workaround? it's very annoying that Copilot cannot bypasss it and what is interesting claude works without this check =) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Copilot Feature Area
Copilot Agent Mode
Body
When creating an issue and assigning github copilot, it is not allowed to run the actions (tests etc).
So for each iteration I need to press "approve" which slows down the flow quite a bit.
My settings:
settings/actions/Approval for running fork pull request workflows from contributorsis set to:"Require approval for first-time contributors
Only users who have never had a commit or pull request merged into this repository will require approval to run workflows."
So, I made a first PR with copilot. Merged it.
Made a second. Still, it needs my approval.
Question: where is the setting to allow copilot to run actions without me babysitting it?
Beta Was this translation helpful? Give feedback.
All reactions