release: Rename workflow to release.yml to match current Trusted Pu…
#171
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: actionlint | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/*.yml" | |
| - "examples/workflows/*.yml" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/*.yml" | |
| - "examples/workflows/*.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| action-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check workflow files | |
| shell: bash | |
| run: | | |
| bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
| # shellcheck disable=SC2046 | |
| ./actionlint -color $(find .github/workflows examples/workflows -name '*.yml' -type f ! -name release.yml -print) |