Skip to content

Enable org-billed Copilot auth for agentic workflows#10984

Open
Copilot wants to merge 6 commits into
mainfrom
copilot/enable-org-wide-billing
Open

Enable org-billed Copilot auth for agentic workflows#10984
Copilot wants to merge 6 commits into
mainfrom
copilot/enable-org-wide-billing

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This updates the repository’s agentic workflows to use the current Copilot permission model for org-wide billing. The workflows no longer depend on the legacy COPILOT_GITHUB_TOKEN secret path for Copilot inference.

  • Workflow source updates

    • Updated the agentic workflow frontmatter in:
      • .github/workflows/bump-tcgc-csharp.md
      • .github/workflows/issue-triage.md
    • Replaced broad read-all shorthand with explicit permissions that preserve read access while enabling Copilot requests:
      permissions:
        all: read
        copilot-requests: write
  • Generated workflow refresh

    • Recompiled the corresponding .lock.yml files so generated workflows match the new auth model.
    • The generated workflows now use github.token for Copilot auth instead of the old secret-validation flow.
  • Behavioral impact

    • Removes reliance on the previous Copilot token setup for these agentic workflows.
    • Aligns workflow auth with the current org-billed Copilot execution path.

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Comment thread .github/dependabot.yml
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
@timotheeguerin

Copy link
Copy Markdown
Member

@copilot fix formatting and lint

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@copilot fix formatting and lint

Addressed in 7f4525c.

Comment thread .github/workflows/agentics-maintenance.yml
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
@timotheeguerin

Copy link
Copy Markdown
Member

@copilot lint and check agentic worflows workflow is failing now

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@copilot lint and check agentic worflows workflow is failing now

Addressed in d8292cd.

@timotheeguerin

Copy link
Copy Markdown
Member

@copilot lint workflow is failing

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

@copilot lint workflow is failing

Addressed in 5705d26.

@timotheeguerin timotheeguerin marked this pull request as ready for review June 16, 2026 12:58
@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants