You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/example-audit.yml
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,24 @@ jobs:
10
10
runs-on: ubuntu-latest
11
11
12
12
steps:
13
+
# Prevent accidental execution of dash14's actions after forking.
14
+
# External actions referenced by tag pose a supply chain risk.
15
+
- name: Guard against unmodified fork usage
16
+
if: github.repository != 'dash14/buildcage'
17
+
run: |
18
+
echo "::error::This example references dash14/buildcage actions by tag. Replace with your fork (e.g., <your-org>/buildcage/setup@v2), or pin by commit hash if using dash14/buildcage directly."
19
+
exit 1
20
+
13
21
- name: Start Buildcage builder
22
+
# For self-hosting, replace with: <your-org>/buildcage/setup@v2
23
+
# If using dash14/buildcage directly, pinning by commit hash is
Copy file name to clipboardExpand all lines: .github/workflows/example-restrict.yml
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,18 @@ jobs:
10
10
runs-on: ubuntu-latest
11
11
12
12
steps:
13
+
# Prevent accidental execution of dash14's actions after forking.
14
+
# External actions referenced by tag pose a supply chain risk.
15
+
- name: Guard against unmodified fork usage
16
+
if: github.repository != 'dash14/buildcage'
17
+
run: |
18
+
echo "::error::This example references dash14/buildcage actions by tag. Replace with your fork (e.g., <your-org>/buildcage/setup@v2), or pin by commit hash if using dash14/buildcage directly."
19
+
exit 1
20
+
13
21
- name: Start Buildcage builder
22
+
# For self-hosting, replace with: <your-org>/buildcage/setup@v2
23
+
# If using dash14/buildcage directly, pinning by commit hash is
0 commit comments