[pre-commit.ci] pre-commit autoupdate #224
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: Lint GitHub Actions workflows | |
# yamllint disable-line rule:truthy | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download actionlint | |
id: get_actionlint | |
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
shell: bash | |
- name: Check workflow files | |
run: ${{ steps.get_actionlint.outputs.executable }} -color | |
shell: bash | |
commit-message: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# Requires the type to be capitlized, but accept any of the standard | |
# types | |
types: | | |
Fix | |
Feat | |
Chore | |
Docs | |
Style | |
Refactor | |
Perf | |
Test | |
Revert | |
CI | |
Build | |
validateSingleCommit: true | |
validateSingleCommitMatchesPrTitle: true |