Repository navigation
Commit b9a0dd9
authored
ci: automate gh-aw workflow source updates (#1699)
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.1 parent f9e2960 commit b9a0dd9
2 files changed
Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments