Skip to content

Commit da776ae

Browse files
authored
Block advisory-affected gh-aw releases (#58029)
1 parent 997d6af commit da776ae

2 files changed

Lines changed: 57 additions & 1 deletion

File tree

.github/aw/compat.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
{
22
"$schema": "./compat.schema.json",
3-
"blockedVersions": [],
3+
"blockedVersions": [
4+
"v0.82.8",
5+
"v0.82.9",
6+
"v0.82.10",
7+
"v0.82.11",
8+
"v0.82.12",
9+
"v0.82.13",
10+
"v0.82.14",
11+
"v0.82.15",
12+
"v0.83.0",
13+
"v0.83.1",
14+
"v0.83.2",
15+
"v0.83.3",
16+
"v0.83.4",
17+
"v0.83.5",
18+
"v0.84.0",
19+
"v0.84.1",
20+
"v0.84.2",
21+
"v0.84.3",
22+
"v0.84.4",
23+
"v0.85.0",
24+
"v0.85.1",
25+
"v0.85.2",
26+
"v0.85.3"
27+
],
428
"minimumVersion": "v0.65.3",
529
"minRecommendedVersion": "v0.65.3",
630
"agent-compat-v1": {

.github/aw/compat.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Blocked gh-aw versions
2+
3+
The following releases are blocked by `.github/aw/compat.json` and fail during
4+
workflow activation.
5+
6+
| Versions | Reason |
7+
| --- | --- |
8+
| `v0.82.8` through `v0.85.3` | Affected by [GHSA-8h78-hpm7-29gg](https://github.com/github/gh-aw/security/advisories/GHSA-8h78-hpm7-29gg). `v0.85.4` is the first unaffected release. |
9+
10+
## Remediation
11+
12+
Upgrade to [`v0.85.4`](https://github.com/github/gh-aw/releases/tag/v0.85.4) or
13+
later, verify the installed version, then regenerate and review the repository's
14+
compiled workflows:
15+
16+
```bash
17+
gh extension upgrade gh-aw
18+
gh aw version
19+
gh aw upgrade
20+
git diff -- .github/workflows
21+
```
22+
23+
Confirm that `gh aw version` reports `v0.85.4` or later and commit the regenerated
24+
`.lock.yml` files. Blocking the affected compiler versions prevents their
25+
workflows from activating but does not regenerate existing workflow artifacts.
26+
See [Upgrading Workflows](https://github.com/github/gh-aw/blob/main/docs/src/content/docs/guides/working-with-workflows.mdx#upgrading-workflows)
27+
for the supported upgrade process.
28+
29+
## Temporary mitigations
30+
31+
No advisory-supported temporary mitigation could be verified. Upgrade and
32+
regenerate compiled workflows as described above.

0 commit comments

Comments
 (0)