Allowing GitHub Actions workflows to run automatically when Copilot pushes
By default, GitHub Actions workflows will not run automatically when Copilot pushes changes to a pull request.
GitHub Actions workflows can be privileged and have access to sensitive secrets. Inspecione as alterações propostas no pull request e certifique-se de que você esteja confortável em executar seus fluxos de trabalho no branch do pull request. Você deve ficar especialmente atento para todas as alterações propostas no diretório .github/workflows/ que afetem arquivos de fluxo de trabalho.
To allow GitHub Actions workflows to run, click the Approve and run workflows button in the pull request's merge box.

Optionally, you can configure agente de codificação Copilot to allow GitHub Actions workflows to run without human intervention.
Aviso
Allowing GitHub Actions workflows to run without approval may allow unreviewed code written by Copilot to gain write access to your repository or access your GitHub Actions secrets.
-
Em GitHub, acesse a página principal do repositório.
-
No nome do repositório, clique em Settings. Caso não consiga ver a guia "Configurações", selecione o menu suspenso , clique em Configurações.

-
In the "Code & automation" section of the sidebar, click Copilot then agente de codificação.
-
In the "Actions workflow approval" section, disable the Require approval for workflow runs setting.