Skip to content

Commit 5d90a1f

Browse files
CopilotMossakaclaudegithub-actions[bot]
authored
Update AWF firewall to v0.11.2 with ACT agent container (#11567)
* Initial plan * Update AWF firewall to v0.11.2 and add --agent-image act flag Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Merge origin/main and regenerate lock files with AWF v0.11.2 Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Add changeset [skip-ci] * Add Go dev path mount to AWF containers Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Mount entire /opt/hostedtoolcache to AWF containers for all tools Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Merge origin/main and recompile workflows with AWF v0.11.2 Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Add changeset [skip-ci] * Add Go and Node runtimes to dev workflow This ensures the agent has access to Go and Node.js for building and testing the gh-aw project. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Revert "Add Go and Node runtimes to dev workflow" This reverts commit c82400e. * Add hostedtoolcache PATH setup to Copilot engine AWF command Tools installed via actions/setup-* (Go, Node, Python, etc.) are placed in /opt/hostedtoolcache but the agent container doesn't have these paths in PATH by default. This adds a PATH setup command that finds all bin directories under /opt/hostedtoolcache and adds them to PATH before running the copilot CLI inside the AWF container. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Add runtime ecosystem domains to AWF firewall allowlist When runtimes are specified in workflow frontmatter (e.g., go, node, python), automatically add the corresponding ecosystem domains to the AWF firewall allowlist. This allows workflows to download packages and dependencies without explicitly specifying network permissions. Runtime to ecosystem mapping: - node, bun, deno → node ecosystem (npmjs.org, nodejs.org, etc.) - python, uv → python ecosystem (pypi.org, etc.) - go → go ecosystem (proxy.golang.org, etc.) - java → java ecosystem (maven.apache.org, gradle.org, etc.) - ruby → ruby ecosystem (rubygems.org, etc.) - dotnet → dotnet ecosystem (nuget.org, etc.) - haskell → haskell ecosystem (haskell.org, etc.) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Add network allowlist for dev workflow tests Add domains needed for running tests: - ghcr.io, pkg-containers.githubusercontent.com: Docker image pulls - proxy.golang.org, sum.golang.org, storage.googleapis.com: Go modules - objects.githubusercontent.com, codeload.github.com: GitHub downloads Also increase timeout to 30 minutes for full test suite. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> Co-authored-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 6206d88 commit 5d90a1f

File tree

152 files changed

+6371
-5935
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+6371
-5935
lines changed

.changeset/patch-update-awf-firewall-to-v0-11-2-act.md

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.changeset/patch-update-awf-firewall.md

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/aw/actions-lock.json

Lines changed: 109 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,139 @@
11
{
22
"entries": {
3-
"actions/ai-inference@v2.0.5": {
3+
"actions/ai-inference@v2": {
44
"repo": "actions/ai-inference",
5-
"version": "v2.0.5",
5+
"version": "v2",
66
"sha": "a6101c89c6feaecc585efdd8d461f18bb7896f20"
77
},
8-
"actions/attest-build-provenance@v3.2.0": {
8+
"actions/attest-build-provenance@v2": {
99
"repo": "actions/attest-build-provenance",
10-
"version": "v3.2.0",
11-
"sha": "62fc1d596301d0ab9914e1fec14dc5c8d93f65cd"
10+
"version": "v2",
11+
"sha": "96b4a1ef7235a096b17240c259729fdd70c83d45"
1212
},
13-
"actions/cache/restore@v5.0.2": {
13+
"actions/cache/restore@v4.3.0": {
1414
"repo": "actions/cache/restore",
15-
"version": "v5.0.2",
16-
"sha": "8b402f58fbc84540c8b491a91e594a4576fec3d7"
15+
"version": "v4.3.0",
16+
"sha": "0057852bfaa89a56745cba8c7296529d2fc39830"
1717
},
18-
"actions/cache/save@v5.0.2": {
18+
"actions/cache/save@v4.3.0": {
1919
"repo": "actions/cache/save",
20-
"version": "v5.0.2",
21-
"sha": "8b402f58fbc84540c8b491a91e594a4576fec3d7"
20+
"version": "v4.3.0",
21+
"sha": "0057852bfaa89a56745cba8c7296529d2fc39830"
2222
},
23-
"actions/cache@v5.0.2": {
23+
"actions/cache@v4.3.0": {
2424
"repo": "actions/cache",
25-
"version": "v5.0.2",
26-
"sha": "8b402f58fbc84540c8b491a91e594a4576fec3d7"
25+
"version": "v4.3.0",
26+
"sha": "0057852bfaa89a56745cba8c7296529d2fc39830"
2727
},
28-
"actions/checkout@v5": {
28+
"actions/checkout@v4": {
2929
"repo": "actions/checkout",
30-
"version": "v5",
30+
"version": "v4",
31+
"sha": "34e114876b0b11c390a56381ad16ebd13914f8d5"
32+
},
33+
"actions/checkout@v5.0.1": {
34+
"repo": "actions/checkout",
35+
"version": "v5.0.1",
3136
"sha": "93cb6efe18208431cddfb8368fd83d5badbf9bfd"
3237
},
3338
"actions/checkout@v6": {
3439
"repo": "actions/checkout",
3540
"version": "v6",
3641
"sha": "8e8c483db84b4bee98b60c0593521ed34d9990e8"
3742
},
38-
"actions/checkout@v6.0.2": {
39-
"repo": "actions/checkout",
40-
"version": "v6.0.2",
41-
"sha": "de0fac2e4500dabe0009e67214ff5f5447ce83dd"
42-
},
43-
"actions/create-github-app-token@v3.0.0-beta.2": {
43+
"actions/create-github-app-token@v2.2.1": {
4444
"repo": "actions/create-github-app-token",
45-
"version": "v3.0.0-beta.2",
46-
"sha": "bf559f85448f9380bcfa2899dbdc01eb5b37be3a"
45+
"version": "v2.2.1",
46+
"sha": "29824e69f54612133e76f7eaac726eef6c875baf"
4747
},
48-
"actions/download-artifact@v6": {
48+
"actions/download-artifact@v6.0.0": {
4949
"repo": "actions/download-artifact",
50-
"version": "v6",
50+
"version": "v6.0.0",
5151
"sha": "018cc2cf5baa6db3ef3c5f8a56943fffe632ef53"
5252
},
53-
"actions/download-artifact@v7": {
54-
"repo": "actions/download-artifact",
55-
"version": "v7",
56-
"sha": "37930b1c2abaa49bbe596cd826c3c89aef350131"
57-
},
5853
"actions/github-script@v7": {
5954
"repo": "actions/github-script",
6055
"version": "v7",
6156
"sha": "f28e40c7f34bde8b3046d885e986cb6290c5673b"
6257
},
63-
"actions/github-script@v8": {
58+
"actions/github-script@v7.0.1": {
59+
"repo": "actions/github-script",
60+
"version": "v7.0.1",
61+
"sha": "60a0d83039c74a4aee543508d2ffcb1c3799cdea"
62+
},
63+
"actions/github-script@v8.0.0": {
6464
"repo": "actions/github-script",
65-
"version": "v8",
65+
"version": "v8.0.0",
6666
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
6767
},
68-
"actions/setup-dotnet@v5.1.0": {
68+
"actions/setup-dotnet@v4": {
6969
"repo": "actions/setup-dotnet",
70-
"version": "v5.1.0",
71-
"sha": "baa11fbfe1d6520db94683bd5c7a3818018e4309"
70+
"version": "v4.3.1",
71+
"sha": "67a3573c9a986a3f9c594539f4ab511d57bb3ce9"
7272
},
73-
"actions/setup-go@v6.2.0": {
73+
"actions/setup-go@v6": {
7474
"repo": "actions/setup-go",
75-
"version": "v6.2.0",
75+
"version": "v6",
7676
"sha": "7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5"
7777
},
78-
"actions/setup-java@v5.2.0": {
78+
"actions/setup-go@v6.1.0": {
79+
"repo": "actions/setup-go",
80+
"version": "v6.1.0",
81+
"sha": "4dc6199c7b1a012772edbd06daecab0f50c9053c"
82+
},
83+
"actions/setup-java@v4": {
7984
"repo": "actions/setup-java",
80-
"version": "v5.2.0",
81-
"sha": "be666c2fcd27ec809703dec50e508c2fdc7f6654"
85+
"version": "v4.8.0",
86+
"sha": "c1e323688fd81a25caa38c78aa6df2d33d3e20d9"
8287
},
83-
"actions/setup-node@v6.2.0": {
88+
"actions/setup-node@v6": {
8489
"repo": "actions/setup-node",
85-
"version": "v6.2.0",
90+
"version": "v6",
8691
"sha": "6044e13b5dc448c55e2357c09f80417699197238"
8792
},
88-
"actions/setup-python@v6.2.0": {
93+
"actions/setup-node@v6.1.0": {
94+
"repo": "actions/setup-node",
95+
"version": "v6.1.0",
96+
"sha": "395ad3262231945c25e8478fd5baf05154b1d79f"
97+
},
98+
"actions/setup-python@v5.6.0": {
8999
"repo": "actions/setup-python",
90-
"version": "v6.2.0",
91-
"sha": "a309ff8b426b58ec0e2a45f0f869d46889d02405"
100+
"version": "v5.6.0",
101+
"sha": "a26af69be951a213d495a4c3e4e4022e16d87065"
92102
},
93-
"actions/upload-artifact@v6": {
103+
"actions/upload-artifact@v4": {
94104
"repo": "actions/upload-artifact",
95-
"version": "v6",
105+
"version": "v4.6.2",
106+
"sha": "ea165f8d65b6e75b540449e92b4886f43607fa02"
107+
},
108+
"actions/upload-artifact@v5.0.0": {
109+
"repo": "actions/upload-artifact",
110+
"version": "v5.0.0",
111+
"sha": "330a01c490aca151604b8cf639adc76d48f6c5d4"
112+
},
113+
"actions/upload-artifact@v6.0.0": {
114+
"repo": "actions/upload-artifact",
115+
"version": "v6.0.0",
96116
"sha": "b7c566a772e6b6bfb58ed0dc250532a479d7789f"
97117
},
98-
"anchore/sbom-action@v0.22.0": {
118+
"anchore/sbom-action@v0": {
99119
"repo": "anchore/sbom-action",
100-
"version": "v0.22.0",
120+
"version": "v0",
101121
"sha": "62ad5284b8ced813296287a0b63906cb364b73ee"
102122
},
103-
"astral-sh/setup-uv@v7.2": {
123+
"anchore/sbom-action@v0.20.10": {
124+
"repo": "anchore/sbom-action",
125+
"version": "v0.20.10",
126+
"sha": "fbfd9c6c189226748411491745178e0c2017392d"
127+
},
128+
"anchore/sbom-action@v0.20.11": {
129+
"repo": "anchore/sbom-action",
130+
"version": "v0.20.11",
131+
"sha": "43a17d6e7add2b5535efe4dcae9952337c479a93"
132+
},
133+
"astral-sh/setup-uv@v5.4.2": {
104134
"repo": "astral-sh/setup-uv",
105-
"version": "v7.2",
106-
"sha": "3ae150cc9da67abcd31089a802e239773e6a2cb5"
135+
"version": "v5.4.2",
136+
"sha": "d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86"
107137
},
108138
"cli/gh-extension-precompile@v2.1.0": {
109139
"repo": "cli/gh-extension-precompile",
@@ -115,70 +145,70 @@
115145
"version": "v2.0.3",
116146
"sha": "e95548e56dfa95d4e1a28d6f422fafe75c4c26fb"
117147
},
118-
"docker/build-push-action@v6.18.0": {
148+
"docker/build-push-action@v6": {
119149
"repo": "docker/build-push-action",
120-
"version": "v6.18.0",
150+
"version": "v6",
121151
"sha": "263435318d21b8e681c14492fe198d362a7d2c83"
122152
},
123-
"docker/login-action@v3.6.0": {
153+
"docker/login-action@v3": {
124154
"repo": "docker/login-action",
125-
"version": "v3.6.0",
155+
"version": "v3",
126156
"sha": "5e57cd118135c172c3672efd75eb46360885c0ef"
127157
},
128-
"docker/metadata-action@v5.10.0": {
158+
"docker/metadata-action@v5": {
129159
"repo": "docker/metadata-action",
130-
"version": "v5.10.0",
160+
"version": "v5",
131161
"sha": "c299e40c65443455700f0fdfc63efafe5b349051"
132162
},
133-
"docker/setup-buildx-action@v3.12.0": {
163+
"docker/setup-buildx-action@v3": {
134164
"repo": "docker/setup-buildx-action",
135-
"version": "v3.12.0",
165+
"version": "v3",
136166
"sha": "8d2750c68a42422c14e847fe6c8ac0403b4cbd6f"
137167
},
138168
"erlef/setup-beam@v1": {
139169
"repo": "erlef/setup-beam",
140170
"version": "v1.20.4",
141171
"sha": "dff508cca8ce57162e7aa6c4769a4f97c2fed638"
142172
},
143-
"github/codeql-action/upload-sarif@v4.32.0": {
173+
"github/codeql-action/upload-sarif@v3": {
144174
"repo": "github/codeql-action/upload-sarif",
145-
"version": "v4.32.0",
146-
"sha": "e6985fd516cce3b1a0e8db34a4013d2e50a1e252"
175+
"version": "v3.31.9",
176+
"sha": "70c165ac82ca0e33a10e9741508dd0ccb4dcf080"
147177
},
148178
"github/stale-repos@v3": {
149179
"repo": "github/stale-repos",
150180
"version": "v3",
151181
"sha": "3477b6488008d9411aaf22a0924ec7c1f6a69980"
152182
},
153-
"github/stale-repos@v8.0.4": {
183+
"github/stale-repos@v3.0.2": {
154184
"repo": "github/stale-repos",
155-
"version": "v8.0.4",
156-
"sha": "6084a41431c4ce8842a7e879b1a15082b88742ae"
185+
"version": "v3.0.2",
186+
"sha": "a21e55567b83cf3c3f3f9085d3038dc6cee02598"
157187
},
158-
"haskell-actions/setup@v2.10.3": {
188+
"haskell-actions/setup@v2": {
159189
"repo": "haskell-actions/setup",
160-
"version": "v2.10.3",
161-
"sha": "9cd1b7bf3f36d5a3c3b17abc3545bfb5481912ea"
190+
"version": "v2.9.1",
191+
"sha": "55073cbd0e96181a9abd6ff4e7d289867dffc98d"
162192
},
163-
"oven-sh/setup-bun@v2.1.2": {
193+
"oven-sh/setup-bun@v2": {
164194
"repo": "oven-sh/setup-bun",
165-
"version": "v2.1.2",
166-
"sha": "3d267786b128fe76c2f16a390aa2448b815359f3"
195+
"version": "v2.0.2",
196+
"sha": "735343b667d3e6f658f44d0eca948eb6282f2b76"
167197
},
168-
"ruby/setup-ruby@v1.286.0": {
198+
"ruby/setup-ruby@v1": {
169199
"repo": "ruby/setup-ruby",
170-
"version": "v1.286.0",
171-
"sha": "90be1154f987f4dc0fe0dd0feedac9e473aa4ba8"
200+
"version": "v1.275.0",
201+
"sha": "d354de180d0c9e813cfddfcbdc079945d4be589b"
172202
},
173203
"super-linter/super-linter@v8.2.1": {
174204
"repo": "super-linter/super-linter",
175205
"version": "v8.2.1",
176206
"sha": "2bdd90ed3262e023ac84bf8fe35dc480721fc1f2"
177207
},
178-
"super-linter/super-linter@v8.3.2": {
208+
"super-linter/super-linter@v8.3.1": {
179209
"repo": "super-linter/super-linter",
180-
"version": "v8.3.2",
181-
"sha": "d5b0a2ab116623730dd094f15ddc1b6b25bf7b99"
210+
"version": "v8.3.1",
211+
"sha": "47984f49b4e87383eed97890fe2dca6063bbd9c3"
182212
}
183213
}
184214
}

0 commit comments

Comments
 (0)