From 032bfed89d6f7531d160cd21637a6a8cc5446782 Mon Sep 17 00:00:00 2001 From: mattsqd Date: Wed, 31 Jul 2024 11:26:24 -0400 Subject: [PATCH] fixes #13: Pass current branch to validate commit messages. --- .github/workflows/run-validation.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run-validation.yml b/.github/workflows/run-validation.yml index 387a34e..a8356e8 100644 --- a/.github/workflows/run-validation.yml +++ b/.github/workflows/run-validation.yml @@ -59,5 +59,4 @@ jobs: - name: Validate pull requests if: github.event_name == 'pull_request' run: | - echo "Current branch from github: ${{ github.head_ref }}" - vendor/bin/robo validate:commit-messages --target-branch="${{ github.base_ref }}" + vendor/bin/robo validate:commit-messages --target-branch="${{ github.base_ref }}" --current-branch="${{ github.head_ref }}"