ci: stop E2E required check from getting stuck on non-code PRs #625
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| --- | |
| name: "Lint Commit Messages" | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| types: | |
| - "edited" | |
| - "opened" | |
| - "reopened" | |
| permissions: | |
| contents: "read" | |
| concurrency: | |
| group: "spicedb-commit-message-${{ github.event.pull_request.number }}" | |
| cancel-in-progress: true | |
| jobs: | |
| conventional-commits: | |
| name: "Lint Commit Messages" | |
| runs-on: "depot-ubuntu-24.04-small" | |
| steps: | |
| - uses: "actions/checkout@v6" | |
| - uses: "webiny/action-conventional-commits@v1.4.2" | |
| - uses: "amannn/action-semantic-pull-request@v6.1.1" | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |