Skip to content

[Auto Update] Agentic workflows — fix safe-outputs config and apply pending upgrade#19756

Open
Copilot wants to merge 4 commits into
mainfrom
copilot/update-agentic-workflows
Open

[Auto Update] Agentic workflows — fix safe-outputs config and apply pending upgrade#19756
Copilot wants to merge 4 commits into
mainfrom
copilot/update-agentic-workflows

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

The aw-auto-update workflow run (#25949164516) successfully ran gh aw upgrade but failed to push results. Two root causes:

  1. protect_top_level_dot_folders: true (default) + protected-files: fallback-to-issue blocked all .github/ pushes
  2. The app token lacked workflows:write, required by GitHub for pushing .github/workflows/ files

Safe-outputs fix (aw-auto-update.md)

  • Added github-app: config to provide a token with workflows:write
  • Added allow-workflows: true on both create-pull-request and push-to-pull-request-branch
  • Changed protected-files: fallback-to-issueallowed (this workflow is explicitly designed to manage these files)

One-time upgrade (what the failed run was trying to do)

  • actions/github-script v8 → v9.0.0
  • github/gh-aw-actions/setup v0.68.3 → v0.72.1
  • github/gh-aw/actions/setup v0.67.2 → v0.72.1
  • Updated actions-lock.json with new SHAs + container image pins
  • Recompiled all 7 workflow lock files
  • Updated .github/agents/agentic-workflows.agent.md references to v0.72.1

Prerequisite

Repo needs vars.APP_ID and secrets.APP_PRIVATE_KEY configured with a GitHub App that has workflows:write installed on dotnet/fsharp.

- Updated actions/github-script from v8 to v9
- Updated github/gh-aw-actions/setup from v0.68.3 to v0.72.1
- Updated github/gh-aw/actions/setup from v0.67.2 to v0.72.1
- Updated actions-lock.json with pinned container images
- Recompiled all workflow lock files
- Updated agent file to v0.72.1 references
- Fixed aw-auto-update.md safe-outputs config:
  - Added github-app config for workflows permission
  - Added allow-workflows: true for create-pull-request and push-to-pull-request-branch
  - Changed protected-files from fallback-to-issue to allowed

Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>
Copilot AI changed the title [WIP] Update agentic workflow infrastructure via gh aw upgrade [Auto Update] Agentic workflows — fix safe-outputs config and apply pending upgrade May 18, 2026
Copilot finished work on behalf of T-Gro May 18, 2026 08:47
Copilot AI requested a review from T-Gro May 18, 2026 08:47
@T-Gro T-Gro marked this pull request as ready for review May 19, 2026 07:56
@T-Gro T-Gro requested a review from a team as a code owner May 19, 2026 07:56
@T-Gro T-Gro added the AI-Auto-Resolve-Conflicts Opt-in: LabelOps merges main into this PR and resolves conflicts every 3h label May 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ No release notes required

@github-actions github-actions Bot mentioned this pull request May 19, 2026
@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label May 19, 2026
- Resolve merge conflict in labelops-pr-maintenance.lock.yml
  (keep full container pinning from upgrade, use main's frontmatter_hash)
- Add missing 'name' field to agentic-workflows.agent.md frontmatter
  (fixes 'Validate skills and agents' CI failure)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro requested a review from abonie May 20, 2026 13:19
@T-Gro T-Gro enabled auto-merge (squash) May 20, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Auto-Resolve-Conflicts Opt-in: LabelOps merges main into this PR and resolves conflicts every 3h AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

[Auto Update] Agentic workflows

2 participants