README: add SNAPSHOT URL #220
Workflow file for this run
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: Freeze Guard | |
| on: | |
| pull_request: | |
| push: | |
| env: | |
| LC_ALL: C | |
| TZ: UTC | |
| jobs: | |
| freeze-protection: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - name: Block changes to frozen releases | |
| run: | | |
| if git diff --name-only HEAD~1 | grep '^freeze/v2/releases/v2.0.0/'; then | |
| echo "ERROR: Frozen release v2.0.0 modified. Create a new version." | |
| exit 1 | |
| fi | |