Update ruby/setup-ruby digest to f0a4d6b #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Action Pins | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/**' | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 | |
- name: Check SHA pins | |
run: | | |
if grep -E -r "uses: .*/.*@(v[0-9]+|main|master)" .github/workflows/; then | |
echo "::error::Actions should use SHA pins, not tags or branch names" | |
exit 1 | |
fi |