File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
44inputs :
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
2626branding :
27- color : ' red'
28- icon : ' git-commit'
27+ color : " red"
28+ icon : " git-commit"
2929
3030runs :
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
You can’t perform that action at this time.
0 commit comments