Repository navigation
Fail the build on four Error Prone checks #509
This file contains hidden or 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: Ensure SHA-pinned actions | |
| on: | |
| pull_request: | |
| branches: [ '*.X.X' ] | |
| push: | |
| branches: [ '*.X.X' ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| pin-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@76ed8a4c86957c2d27d44bab47f172193149d926 # v5.0.11 |