Test: org-level Copilot billing via pull_request + copilot-requests:write#1
Open
JanKrivanek wants to merge 1 commit into
Open
Test: org-level Copilot billing via pull_request + copilot-requests:write#1JanKrivanek wants to merge 1 commit into
JanKrivanek wants to merge 1 commit into
Conversation
Triggers on same-repo pull_request using the built-in GITHUB_TOKEN with copilot-requests: write (no PAT pool), to verify organization-level Copilot billing is enabled for the dotnet org per github.blog/changelog/2026-06-11.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Test whether organization-level Copilot billing is enabled for the
dotnetorg, per the changelog
Agentic workflows no longer need a personal access token
(2026-06-11).
What this PR does
Adds a single dummy agentic workflow,
.github/workflows/org-billing-test.md,that:
pull_request(same-repo branch, not a fork), so the jobreceives the normal read-write
GITHUB_TOKEN.permissions: copilot-requests: write— the new org-billingauth path.
COPILOT_GITHUB_TOKEN— it relies purely on thebuilt-in
GITHUB_TOKENso that AI credits are billed to the organization.Compiled with
gh awv0.79.8.What to observe
Org Billing Testworkflow'sagentjob authenticates via the Actions token and posts a confirmation comment.
agentjob fails to authenticate / bill.Cleanup
This is a throwaway test PR — close without merging once the billing behavior
has been observed.