build(deps): update dependency pdm to v2.15.3 #380
Workflow file for this run
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: CommitLint | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
commitlint: | |
container: | |
image: commitlint/commitlint:19.3.1@sha256:02c8c31b2c61c51eadb410960648c8b370f7583609f4ca1520155eeeefd63d66 | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: env | sort | |
- name: Validate the latest commit message with commitlint | |
if: github.event_name == 'push' | |
run: echo "${{ github.event.head_commit.message }}" | npx commitlint -x @commitlint/config-conventional | |
- name: Validate pull request title with commitlint | |
if: github.event_name == 'pull_request' | |
run: echo "${{ github.event.pull_request.title }}" | npx commitlint -x @commitlint/config-conventional | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- edited | |
push: | |
branches: | |
- main |