Skip to content

Commit c90c45d

Browse files
authored
[codex] Pin GitHub Actions workflow references (#57)
## Summary Pin floating external GitHub Actions workflow refs to immutable SHAs. ## Why See the rationale doc: https://docs.google.com/document/d/1qOURCNx2zszQ0uWx7Fj5ERu4jpiYjxLVWBWgKa2wTsA/edit?tab=t.0 ## Validation - `rg -n --pcre2 "uses:\s*(?!\./)(?!docker://)[^#\n]+@(?![0-9a-f]{40}(?:\s+#.*)?$)\S+" .github/workflows` - `git diff --check` - `git diff --stat -- .github/workflows`
1 parent 4e57573 commit c90c45d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/make-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919

2020
- name: Set up mise tools
21-
uses: jdx/mise-action@v3
21+
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3
2222
with:
2323
install: true
2424
cache: true
2525
working_directory: elixir
2626

2727
- name: Cache deps and build
28-
uses: actions/cache@v4
28+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2929
with:
3030
path: |
3131
elixir/deps

.github/workflows/pr-description-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717

1818
- name: Set up mise tools
19-
uses: jdx/mise-action@v3
19+
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3
2020
with:
2121
install: true
2222
cache: true

0 commit comments

Comments
 (0)