From 66b6ed9ae7c0b7ba464c98f8c6533921d239f9de Mon Sep 17 00:00:00 2001 From: Rohith Jayawardene Date: Sun, 10 Nov 2024 17:15:05 +0000 Subject: [PATCH] chore: ensuring we are using the commitlint configuration --- .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 0081e37..cb3a4c1 100644 --- a/.github/workflows/terraform-plan-and-apply-aws.yml +++ b/.github/workflows/terraform-plan-and-apply-aws.yml @@ -180,7 +180,7 @@ jobs: wget https://raw.githubusercontent.com/${{ inputs.cicd-repository }}/${{ inputs.cicd-branch }}/config/commitlint.config.js -O commitlint.config.js - name: Run Commitlint id: commitlint - run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} + run: npx commitlint --config commitlint.config.js --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} terraform-format: name: "Terraform Format"