ci: fix sha (#83) #508
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: Validate GitHub Actions Workflows | |
| on: | |
| push: | |
| pull_request: | |
| # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_dispatch | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout local repository | |
| uses: actions/checkout@v4 | |
| # See: https://github.com/ajv-validator/ajv-cli/blob/master/README.md | |
| - name: Validate GitHub Actions workflows | |
| run: | | |
| npx -p ajv-cli@4.0.1 ajv -s "./.github/schemas/github-action.json" -d "**/*.{yml,yaml}" |