From 88f995532eb6ce5ef71db4a6fb4ee79c9b04f708 Mon Sep 17 00:00:00 2001 From: Phil-NHS Date: Thu, 28 Aug 2025 16:18:42 +0100 Subject: [PATCH] chore(dependabot): oops --- .github/workflows/reuseable-ci-checks.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reuseable-ci-checks.yml b/.github/workflows/reuseable-ci-checks.yml index bc48db5..a875f2c 100644 --- a/.github/workflows/reuseable-ci-checks.yml +++ b/.github/workflows/reuseable-ci-checks.yml @@ -198,19 +198,20 @@ jobs: fetch-depth: 0 - name: Check branch and run commitlint + id: check_branch_and_run_commitlint run: | BRANCH_NAME="${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}" echo "Branch name: $BRANCH_NAME" if [[ "$BRANCH_NAME" =~ ^dependabot/ ]]; then - echo "✅ Branch is a dependabot branch - skipping commitlint" + echo "✅ Branch is a dependabot branch - skipping commitlint ✅" echo "skip=true" >> $GITHUB_OUTPUT else echo "Regular branch - will run commitlint in next step" echo "skip=false" >> $GITHUB_OUTPUT fi - - name: Run commitlint actio - if: steps.check-branch.outputs.skip != 'true' + - name: Run commitlint action + if: steps.check_branch_and_run_commitlint.outputs.skip != 'true' uses: wagoid/commitlint-github-action@v5 with: configFile: .commitlintrc.json