From 64934fcc6529a42a564590bfc3f15d4650918c98 Mon Sep 17 00:00:00 2001 From: Rohith Jayawardene Date: Fri, 10 May 2024 18:07:15 +0100 Subject: [PATCH] fix: adding back the filter on commitlint --- .github/workflows/terraform-plan-and-apply-aws.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform-plan-and-apply-aws.yml b/.github/workflows/terraform-plan-and-apply-aws.yml index 7d0d812..c2cd9c9 100644 --- a/.github/workflows/terraform-plan-and-apply-aws.yml +++ b/.github/workflows/terraform-plan-and-apply-aws.yml @@ -132,7 +132,7 @@ permissions: jobs: commitlint: name: "Commitlint" - if: inputs.enable-commitlint + if: github.event_name == 'pull_request' && inputs.enable-commitlint runs-on: ubuntu-latest defaults: run: