Skip to content

build(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.3 #16

build(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.3

build(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.3 #16

Workflow file for this run

name: on-commit
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
lint-commit-messages:
name: lint commit message
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install commitizen
run: |
python -m pip install commitizen
- name: Commitizen check
run: |
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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}