Skip to content

Commit 57a6a7b

Browse files
committed
ci: redistribute canonical scorecard-enforcer.yml (concurrency-cancel guard) (Refs hyperpolymath/standards#122)
1 parent 55b4284 commit 57a6a7b

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/scorecard-enforcer.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
results_file: results.sarif
3838
results_format: sarif
39-
publish_results: false
39+
publish_results: true
4040

4141
- name: Upload SARIF
42-
uses: github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4
42+
uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v4
4343
with:
4444
sarif_file: results.sarif
4545

@@ -71,26 +71,11 @@ jobs:
7171
exit 1
7272
fi
7373
74-
- name: Check LICENSE exists
75-
run: |
76-
if [ ! -f "LICENSE" ] && [ ! -f "LICENSE.txt" ] && [ ! -f "LICENSE.md" ]; then
77-
echo "::error::LICENSE file is required for OpenSSF Best Practices"
78-
exit 1
79-
fi
80-
81-
- name: Check CONTRIBUTING exists
82-
run: |
83-
if [ ! -f "CONTRIBUTING.md" ] && [ ! -f "CONTRIBUTING.adoc" ]; then
84-
echo "::error::CONTRIBUTING file is required for OpenSSF Best Practices"
85-
exit 1
86-
fi
87-
8874
- name: Check for pinned dependencies
8975
run: |
9076
# Check workflows for unpinned actions
9177
unpinned=$(grep -r "uses:.*@v[0-9]" .github/workflows/*.yml 2>/dev/null | grep -v "#" | head -5 || true)
9278
if [ -n "$unpinned" ]; then
93-
echo "::error::Found unpinned actions — all actions MUST be SHA-pinned:"
79+
echo "::warning::Found unpinned actions:"
9480
echo "$unpinned"
95-
exit 1
9681
fi

0 commit comments

Comments
 (0)