Skip to content

Commit 4ee5f74

Browse files
committed
feat!: Node 24 support for commitlint action
1 parent e41799b commit 4ee5f74

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

action.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: 'Conventional Commitlint'
2-
description: 'A GitHub Action to check conventional commit message'
1+
name: "Conventional Commitlint"
2+
description: "A GitHub Action to check conventional commit message"
33

44
inputs:
55
fail_on_error:
66
description: Whether to fail the workflow if commit messages don't follow conventions.
7-
default: 'true'
7+
default: "true"
88
required: false
99
verbose:
1010
description: Verbose output.
11-
default: 'false'
11+
default: "false"
1212
required: false
1313
token:
1414
description: Token for fetching commits using Github API.
@@ -24,16 +24,18 @@ outputs:
2424
value: ${{ steps.commitlint.outputs.exit_code }}
2525

2626
branding:
27-
color: 'red'
28-
icon: 'git-commit'
27+
color: "red"
28+
icon: "git-commit"
2929

3030
runs:
31-
using: 'composite'
31+
using: "composite"
3232
steps:
3333
- name: Install Python
34-
uses: actions/setup-python@v5.1.0
34+
# Use a specific version for action dependencies
35+
# A commitlint action version should use fixed dependency versions (not mutable versions)
36+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3537
with:
36-
python-version: '3.10'
38+
python-version: "3.10"
3739

3840
- name: Commitlint Action
3941
id: commitlint

0 commit comments

Comments
 (0)