build(deps): update docker docker tag to v27.4.0 #1700
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.6.1@sha256:eafd030c63023d92078deb6c33d44c7d679bcd4a48bf60e9aef8aea1d0e1dfd7 | |
runs-on: ubuntu-24.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 |