Skip to content

Commit 3844740

Browse files
committed
workflows: Extract network allowlist into shared import
Move the duplicated network allowlist into shared/network.md and import it from all five workflows. Assisted-by: AI Signed-off-by: gursewak1997 <gursmangat@gmail.com>
1 parent a0f0478 commit 3844740

11 files changed

Lines changed: 59 additions & 61 deletions

File tree

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

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

‎.github/workflows/ci-triage.md‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ description: |
2626
three total attempts.
2727
2828
imports:
29+
- shared/network.md
2930
- uses: shared/workflow-rerun.md
3031
with:
3132
expected-event: pull_request
@@ -106,14 +107,6 @@ permissions:
106107
model: claude-opus-5-5
107108
engine:
108109
id: claude
109-
network:
110-
allowed:
111-
- defaults
112-
- rust
113-
- github
114-
- github-actions
115-
- containers
116-
- "just.systems"
117110

118111
tools:
119112
# The agent runs in a sandboxed container. Keep the write-capable Actions

‎.github/workflows/drafter.lock.yml‎

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

‎.github/workflows/drafter.md‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,8 @@ permissions:
1818
model: claude-opus-5-5
1919
engine:
2020
id: claude
21-
network:
22-
allowed:
23-
- defaults
24-
- rust
25-
- github
26-
- github-actions
27-
- containers
28-
- "just.systems"
21+
imports:
22+
- shared/network.md
2923
tools:
3024
bash: ["*"]
3125
github:

0 commit comments

Comments
 (0)