build(deps): bump peaceiris/actions-gh-pages from e9c66a37f080288a11235e32cbe2dc5fb3a679cc to 4f9cc6602d3f66b9c108549d475ec49e8ef4d45e #65
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: on-commit | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| permissions: {} | |
| jobs: | |
| lint-commit-messages: | |
| name: lint commit message | |
| runs-on: [ubuntu-latest] | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@b75dde52aef63a238519e7aecbbe79a4a52e4315 # v7 | |
| - name: Commitizen check | |
| run: | | |
| uvx --from commitizen cz check --rev-range HEAD^! | |
| lint-pr-title: | |
| # default: lints titles using https://github.com/commitizen/conventional-commit-types | |
| name: lint pr title | |
| runs-on: [ubuntu-latest] | |
| permissions: | |
| pull-requests: read | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |