Skip to content

ci: automate gh-aw workflow source updates - #1699

Merged
BenjaminMichaelis merged 1 commit into
mainfrom
bmichaelis-automate-gh-aw-source-updates
Nov 21, 2026
Merged

BenjaminMichaelis merged 1 commit into
mainfrom
bmichaelis-automate-gh-aw-source-updates

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

Adds a weekly (and manually triggerable) workflow that runs gh aw update --create-pull-request. For each agentic workflow with a source: pin (accessibility-review, ci-doctor, repo-assist), it pulls in upstream changes using a 3-way merge, recompiles the .lock.yml files, and opens a PR with the result.

Why not Dependabot APM?

Dependabot's apm ecosystem only updates apm.yml and apm.lock.yaml. It can't bump gh-aw source: pins or recompile lock files, so it doesn't solve the recompilation problem for these workflows.

Token

The workflow uses BOT_PAT rather than GITHUB_TOKEN, for two reasons:

  • GITHUB_TOKEN can't push changes under .github/workflows/.
  • PRs opened with GITHUB_TOKEN don't trigger CI.

BOT_PAT must have workflow scope.

Also rewords the Dependabot comment explaining why github/gh-aw-actions/* is ignored.

Validation

  • actionlint passes.
  • The workflow has not been run yet. After merge, trigger it with workflow_dispatch to verify.

Run gh aw update weekly to pull upstream workflow source changes, recompile lock files, and open a PR. Dependabot's APM ecosystem only updates apm.yml/apm.lock.yaml and cannot handle gh-aw source pins or compilation.
@BenjaminMichaelis
BenjaminMichaelis force-pushed the bmichaelis-automate-gh-aw-source-updates branch from 0090918 to d3bc42a Compare November 21, 2026 01:19
@BenjaminMichaelis
BenjaminMichaelis merged commit b9a0dd9 into main Nov 21, 2026
14 checks passed
@BenjaminMichaelis
BenjaminMichaelis deleted the bmichaelis-automate-gh-aw-source-updates branch November 21, 2026 02:10
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.

1 participant