Enable copilot-requests feature in Daily Max AI Credits workflow#37992
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
June 9, 2026 02:06
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to switch the “Daily Max AI Credits” test workflow from legacy Copilot authentication (using COPILOT_GITHUB_TOKEN) to the GitHub Actions token–based Copilot requests flow.
Changes:
- Added
features.copilot-requests: trueto the workflow frontmatter. - Updated the compiled lock workflow metadata hash.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/daily-max-ai-credits-test.md |
Adds a features.copilot-requests frontmatter flag intended to enable Copilot requests mode. |
.github/workflows/daily-max-ai-credits-test.lock.yml |
Updates generated metadata hash to reflect the frontmatter change. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 2
Comment on lines
9
to
+13
| permissions: | ||
| contents: read | ||
| issues: read | ||
| features: | ||
| copilot-requests: true |
| @@ -1,4 +1,4 @@ | |||
| # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"ac47941a2e259b8ebfa6edd6300e0aadaad01983781cbe55103d6fc335d2fb77","body_hash":"b5e131b5e16bff819cb1b90dc5798fe007816b61bae3e7646693eb89e5a0d9d4","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}} | |||
| # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"9b3f7ecb4022f5c5e9dc5dc0345aac707322eef080bc3e53b681dc2c336028c8","body_hash":"b5e131b5e16bff819cb1b90dc5798fe007816b61bae3e7646693eb89e5a0d9d4","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}} | |||
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.
The Daily Max AI Credits test workflow was still using legacy Copilot auth wiring, causing request failures in the agent step. This update switches the workflow to the GitHub Actions token-based Copilot requests path.
Frontmatter update
features.copilot-requests: truetodaily-max-ai-credits-test.mdso the workflow uses Copilot requests mode instead of relying onCOPILOT_GITHUB_TOKENflow.Compiled workflow refresh
daily-max-ai-credits-test.lock.ymlto capture the frontmatter hash and compiled output for the new feature flag.