r/github • u/Available_Theory_109 • Jun 26 '26
Question Query on GitHub Agents Workflow
I'm setting up a GitHub Agents Workflow which will run every Monday. I'm using native Copilot agent as the AI which uses the default AI models available in GitHub copilot. (using copilot-requests:write permission)
My question is that, I'm going to deploy and run this workflow on my Company's GitHub repo automatically on schedule, whose copilot credit is it going to consume?
0
Upvotes
View all comments
Show parent comment
1
u/Available_Theory_109 Jun 26 '26
Thanks for the link. I guess I'm using Organisation quota because - "When copilot-requests: write is set in workflow frontmatter permissions, the GitHub Actions' token is used for Copilot requests, so you don't need a COPILOT_GITHUB_TOKEN. If the GitHub Actions token does not have GitHub Copilot access from the organization, the workflow fails when it sends Copilot requests, and you should configure COPILOT_GITHUB_TOKEN instead."