Skip to content

Add missing COPILOT_GITHUB_TOKEN secret to gh-aw-issue-fixer workflow#538

Merged
strawgate merged 3 commits intomainfrom
copilot/fix-gh-aw-issue-fixer-secrets
Mar 2, 2026
Merged

Add missing COPILOT_GITHUB_TOKEN secret to gh-aw-issue-fixer workflow#538
strawgate merged 3 commits intomainfrom
copilot/fix-gh-aw-issue-fixer-secrets

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

This PR fixes the gh-aw-issue-fixer workflow contract by adding the missing required COPILOT_GITHUB_TOKEN workflow-call secret.

What changed

  • Added COPILOT_GITHUB_TOKEN under on.workflow_call.secrets in .github/workflows/gh-aw-issue-fixer.md.
  • Regenerated .github/workflows/gh-aw-issue-fixer.lock.yml so the compiled workflow also declares COPILOT_GITHUB_TOKEN as required.

Why

gh-aw-issue-fixer.md was the outlier among gh-aw-* workflows: its caller example already passed COPILOT_GITHUB_TOKEN, but the workflow definition did not declare it.

Fixes #536

Generated by Update PR Body for issue #538

Add `COPILOT_GITHUB_TOKEN: required: true` to `on.workflow_call.secrets`
in `.github/workflows/gh-aw-issue-fixer.md` to match the standard pattern
used by all other gh-aw-* workflows. Recompiled the lock file.

Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix omitted COPILOT_GITHUB_TOKEN in gh-aw-issue-fixer workflow Add missing COPILOT_GITHUB_TOKEN secret to gh-aw-issue-fixer workflow Mar 2, 2026
@strawgate strawgate marked this pull request as ready for review March 2, 2026 16:59
@coderabbitai
Copy link

coderabbitai bot commented Mar 2, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 466621f and 8ec3c32.

📒 Files selected for processing (2)
  • .github/workflows/gh-aw-issue-fixer.lock.yml
  • .github/workflows/gh-aw-issue-fixer.md

📝 Walkthrough

Walkthrough

This change adds the required COPILOT_GITHUB_TOKEN secret to the gh-aw-issue-fixer workflow's on.workflow_call.secrets section. Two files are updated: the source workflow definition (.github/workflows/gh-aw-issue-fixer.md) receives the new secret declaration, and its compiled lock file (.github/workflows/gh-aw-issue-fixer.lock.yml) is regenerated with the updated configuration and refreshed frontmatter hash. This aligns the workflow with the standard pattern established by 50 other Copilot workflows in the repository.

Possibly related PRs

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed PR successfully addresses all coding requirements from issue #536: adds COPILOT_GITHUB_TOKEN to workflow_call secrets and regenerates lock file.
Out of Scope Changes check ✅ Passed All changes are directly scoped to issue #536: COPILOT_GITHUB_TOKEN addition and lock file recompilation. No unrelated modifications detected.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch copilot/fix-gh-aw-issue-fixer-secrets

Comment @coderabbitai help to get the list of available commands and usage tips.

@strawgate strawgate merged commit 152ea48 into main Mar 2, 2026
17 checks passed
@strawgate strawgate deleted the copilot/fix-gh-aw-issue-fixer-secrets branch March 2, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[workflow-patrol] Workflow drift detected: gh-aw-issue-fixer omits COPILOT_GITHUB_TOKEN secret

2 participants