Skip to content

Commit 7f88694

Browse files
pelikhanCopilotCopilotgithub-actions[bot]
authored
Add allowlisted dynamic repository checkout lists (#68593)
* Add allowlisted runtime repository checkout lists Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Enforce runtime checkout allowlists and report rejected repositories Require allowed-repos for repository expressions, keep wildcards exclusive to scoped allowlists, and propagate hard checkout rejections into agent failure issues. Fail compilation instead of silently dropping invalid main or imported checkout configurations. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Report all runtime checkout preparation failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Block LFS endpoints from bypassing runtime checkout allowlists Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Verify dynamic checkout credentials and exempt workflow repository expression Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Block submodule allowlist bypass for all runtime checkout lists Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * docs(adr): add draft ADR-68593 for allowlisted runtime repository checkout lists * Limit runtime repository checkout lists with max-repos Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Address runtime checkout review feedback Restrict allowlist expression provenance, disable recursive submodule fetches, and wire safe-output manifests and effective checkout authentication with regression coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Specify runtime checkout safe-output and formal contracts Align safe-output requirements with trusted runtime policies, bounded preflight, job-local manifests, credential finalization, staged isolation, and failure reporting. Add an executable bounded TLA+ model with checker integration, negative controls, and reachability witnesses. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Require explicit private runtime checkout opt-in Default runtime lists to public targets. Require literal per-entry allow-private-repos opt-in for private/internal targets on non-public hosts, preserve unconditional public-host isolation, and merge opt-ins conservatively. Update schema, failure reporting regressions, documentation, ADR, and bounded TLA+ contracts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Update workflows and preserve setup-node v7.1.0 Run gh aw update and regenerate workflow locks with the local compiler. Resolve the maintenance secret-validation Node action through the shared pin resolver instead of a stale v4.1.0 literal, with a regression test preventing future regeneration downgrades. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Pin Vite to the 1ES-available 8.3.1 release Use an exact Vite version with a verified 1ES tarball and executable CLI. Preserve canonical lockfile URLs, all other locked packages, and existing security overrides. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Pin Node types to the 1ES-available 26.6.3 release Restore clean dependency installation with a verified Node 26 types tarball. Preserve other locked packages and canonical npm registry URLs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8ede70e commit 7f88694

92 files changed

Lines changed: 3340 additions & 327 deletions

File tree

Some content is hidden

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

‎.changeset/major-runtime-repository-checkout.md‎

Lines changed: 19 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: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,11 @@
4343
"version": "v7.0.1",
4444
"sha": "3d3c42e5aac5ba805825da76410c181273ba90b1"
4545
},
46-
"actions/create-github-app-token@v3.2.0": {
47-
"repo": "actions/create-github-app-token",
48-
"version": "v3.2.0",
49-
"sha": "bcd2ba49218906704ab6c1aa796996da409d3eb1"
50-
},
5146
"actions/create-github-app-token@v3.3.0": {
5247
"repo": "actions/create-github-app-token",
5348
"version": "v3.3.0",
5449
"sha": "64ab729a6294000f5aa4a4bc0b73d1f32bc45510"
5550
},
56-
"actions/download-artifact@v8.0.1": {
57-
"repo": "actions/download-artifact",
58-
"version": "v8.0.1",
59-
"sha": "3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c"
60-
},
6151
"actions/download-artifact@v8.0.2": {
6252
"repo": "actions/download-artifact",
6353
"version": "v8.0.2",
@@ -93,11 +83,6 @@
9383
"version": "v6.0.1",
9484
"sha": "de7274f081f381c8f8158605e0321c36c376e2e6"
9585
},
96-
"actions/setup-node@v7.0.0": {
97-
"repo": "actions/setup-node",
98-
"version": "v7.0.0",
99-
"sha": "820762786026740c76f36085b0efc47a31fe5020"
100-
},
10186
"actions/setup-node@v7.1.0": {
10287
"repo": "actions/setup-node",
10388
"version": "v7.1.0",
@@ -108,11 +93,6 @@
10893
"version": "v7.0.0",
10994
"sha": "5fda3b95a4ea91299a34e894583c3862153e4b97"
11095
},
111-
"actions/upload-artifact@v7.0.1": {
112-
"repo": "actions/upload-artifact",
113-
"version": "v7.0.1",
114-
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
115-
},
11696
"actions/upload-artifact@v7.0.2": {
11797
"repo": "actions/upload-artifact",
11898
"version": "v7.0.2",
@@ -193,9 +173,9 @@
193173
"version": "v1",
194174
"sha": "5ac0f275b83d9d5a9342c6aae977ec32fa330daa"
195175
},
196-
"super-linter/super-linter@v9": {
176+
"super-linter/super-linter@v9.0.0": {
197177
"repo": "super-linter/super-linter",
198-
"version": "v9",
178+
"version": "v9.0.0",
199179
"sha": "2da136927bd4a73596db63044b504547c62cb854"
200180
}
201181
},
@@ -895,11 +875,6 @@
895875
"digest": "sha256:3d5dba0b0a139bbb11b5d5b8b44f277d2b18f69cf43090e3c283d750cf864baa",
896876
"pinned_image": "ghcr.io/github/gh-aw-firewall/squid:0.28.9@sha256:3d5dba0b0a139bbb11b5d5b8b44f277d2b18f69cf43090e3c283d750cf864baa"
897877
},
898-
"ghcr.io/github/gh-aw-mcpg:v0.4.30": {
899-
"image": "ghcr.io/github/gh-aw-mcpg:v0.4.30",
900-
"digest": "sha256:ab5a436a1490438db473e4e3d4c973cb1d75e3cb233fb08b73d31b42d7d18fba",
901-
"pinned_image": "ghcr.io/github/gh-aw-mcpg:v0.4.30@sha256:ab5a436a1490438db473e4e3d4c973cb1d75e3cb233fb08b73d31b42d7d18fba"
902-
},
903878
"ghcr.io/github/gh-aw-mcpg:v0.4.31": {
904879
"image": "ghcr.io/github/gh-aw-mcpg:v0.4.31",
905880
"digest": "sha256:dbec0f2ddef6adf83b7764019323096e3e5cc0f3886255f6320555b7fe2a7caf",

‎.github/workflows/avenger.lock.yml‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/avenger.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ steps:
9898
go-version-file: go.mod
9999
cache: true
100100
- name: Setup Node.js
101-
uses: actions/setup-node@v7.0.0
101+
uses: actions/setup-node@v7.1.0
102102
with:
103103
node-version: "24"
104104
cache: npm

‎.github/workflows/ci-coach.lock.yml‎

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

0 commit comments

Comments
 (0)