Skip to content

Commit bd7aece

Browse files
committed
feat(runtime): unify reusable workflow pins
1 parent a090f42 commit bd7aece

9 files changed

Lines changed: 21 additions & 9 deletions

File tree

‎.github/scripts/sync-template.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ done
371371

372372
# Reusable workflow callers must use a literal repository/ref. Render the
373373
# selected runtime repository while leaving custom workflows untouched.
374-
for file in .github/workflows/ci.yml .github/workflows/test.yml; do
374+
for file in .github/workflows/ci.yml .github/workflows/test.yml .github/workflows/security.yml .github/workflows/codeql.yml; do
375375
[ -f "$file" ] || continue
376376
if grep -q '0xPlayerOne/code-foundry' "$file"; then
377377
changed=$((changed + 1))

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ permissions:
1313
jobs:
1414
ci:
1515
name: CI
16-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-ci.yml@v0.7.0
16+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-ci.yml@v0.14.0
17+
with:
18+
runtime-repository: 0xPlayerOne/code-foundry
19+
runtime-ref: v0.14.0
1720
secrets: inherit

‎.github/workflows/codeql.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ permissions:
1818
jobs:
1919
codeql:
2020
name: CodeQL
21-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-codeql.yml@v0.12.0
21+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-codeql.yml@v0.14.0
22+
with:
23+
runtime-repository: 0xPlayerOne/code-foundry
24+
runtime-ref: v0.14.0
2225
secrets: inherit

‎.github/workflows/reusable-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
description: Code Foundry runtime tag or ref.
1313
required: false
1414
type: string
15-
default: v0.7.0
15+
default: v0.14.0
1616

1717
permissions:
1818
contents: read

‎.github/workflows/reusable-codeql.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
description: Code Foundry runtime tag or ref.
1313
required: false
1414
type: string
15-
default: v0.11.0
15+
default: v0.14.0
1616

1717
permissions:
1818
actions: read

‎.github/workflows/reusable-security.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
description: Code Foundry runtime tag or ref.
1313
required: false
1414
type: string
15-
default: v0.9.0
15+
default: v0.14.0
1616

1717
permissions:
1818
contents: read

‎.github/workflows/reusable-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
description: Code Foundry runtime tag or ref.
1313
required: false
1414
type: string
15-
default: v0.7.0
15+
default: v0.14.0
1616

1717
permissions:
1818
contents: read

‎.github/workflows/security.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ permissions:
1313
jobs:
1414
security:
1515
name: Security
16-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-security.yml@v0.10.0
16+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-security.yml@v0.14.0
17+
with:
18+
runtime-repository: 0xPlayerOne/code-foundry
19+
runtime-ref: v0.14.0
1720
secrets: inherit

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ permissions:
1313
jobs:
1414
test:
1515
name: Test
16-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-test.yml@v0.8.0
16+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-test.yml@v0.14.0
17+
with:
18+
runtime-repository: 0xPlayerOne/code-foundry
19+
runtime-ref: v0.14.0
1720
secrets: inherit

0 commit comments

Comments
 (0)