File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -198,19 +198,20 @@ jobs:
198198 fetch-depth : 0
199199
200200 - name : Check branch and run commitlint
201+ id : check_branch_and_run_commitlint
201202 run : |
202203 BRANCH_NAME="${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}"
203204 echo "Branch name: $BRANCH_NAME"
204205 if [[ "$BRANCH_NAME" =~ ^dependabot/ ]]; then
205- echo "✅ Branch is a dependabot branch - skipping commitlint"
206+ echo "✅ Branch is a dependabot branch - skipping commitlint ✅ "
206207 echo "skip=true" >> $GITHUB_OUTPUT
207208 else
208209 echo "Regular branch - will run commitlint in next step"
209210 echo "skip=false" >> $GITHUB_OUTPUT
210211 fi
211212
212- - name : Run commitlint actio
213- if : steps.check-branch .outputs.skip != 'true'
213+ - name : Run commitlint action
214+ if : steps.check_branch_and_run_commitlint .outputs.skip != 'true'
214215 uses : wagoid/commitlint-github-action@v5
215216 with :
216217 configFile : .commitlintrc.json
You can’t perform that action at this time.
0 commit comments