From 8ca879b286c7912deb22fd94463f9a10bf385dda Mon Sep 17 00:00:00 2001 From: Chris Hopkins Date: Wed, 17 Dec 2025 11:19:58 +0000 Subject: [PATCH] Skip the pre-commit-check job for PR raised by dependabot Signed-off-by: DBT pre-commit check --- .github/workflows/org.common-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/org.common-ci.yml b/.github/workflows/org.common-ci.yml index a5d3ce16..b44eb888 100644 --- a/.github/workflows/org.common-ci.yml +++ b/.github/workflows/org.common-ci.yml @@ -12,6 +12,7 @@ on: jobs: pre-commit-check: + if: ${{ github.actor != 'dependabot[bot]' }} env: SIGNED_OFF_MESSAGE: "Signed-off-by: DBT pre-commit check" FAILURE_MESSAGE: "Your PR has commits that are missing the Signed-off-by trailer. This is likely due to the pre-commit hook not being configured on your local machine. The usual fix for this issue is to run `pre-commit install --install-hooks --overwrite -t commit-msg -t pre-commit`, however for more detailed help in setting up the pre-commit hooks, follow the instructions at https://github.com/uktrade/github-standards/blob/main/README.md#usage"