Skip to content

Commit bd797e6

Browse files
authored
Merge pull request #300 from smallstep/carl/deprecate-frizbee
Deprecate frizbee check — already covered by zizmor
2 parents af6d580 + b143c54 commit bd797e6

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

.github/workflows/frizbee.yml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Deprecated: unpinned action detection is already covered by zizmor.
12
name: Frizbee pinning check
23
on:
34
workflow_call:
@@ -7,31 +8,4 @@ jobs:
78
name: frizbee
89
runs-on: ubuntu-latest
910
steps:
10-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
11-
with:
12-
persist-credentials: false
13-
- name: Install frizbee
14-
env:
15-
GITHUB_TOKEN: ${{ github.token }}
16-
run: |
17-
gh release download v0.1.8 --repo stacklok/frizbee \
18-
--pattern 'frizbee_0.1.8_linux_amd64.tar.gz' \
19-
--output frizbee.tar.gz
20-
tar -xzf frizbee.tar.gz frizbee
21-
sudo mv frizbee /usr/local/bin/
22-
rm frizbee.tar.gz
23-
- name: Check pinning
24-
env:
25-
GITHUB_TOKEN: ${{ github.token }}
26-
run: |
27-
# Run frizbee and capture exit code
28-
frizbee actions --dry-run --error .github/workflows/ && exit 0
29-
30-
# On failure, show exactly which actions are unpinned
31-
echo ""
32-
echo "The following actions are not pinned to a SHA digest:"
33-
echo ""
34-
grep -rn 'uses:' .github/workflows/ | grep -v '@[0-9a-f]\{40,\}' | grep -v '^#' || true
35-
echo ""
36-
echo "Fix with: frizbee actions .github/workflows/"
37-
exit 1
11+
- run: echo "Skipped — unpinned action detection is covered by zizmor."

0 commit comments

Comments
 (0)