Skip to content

Commit

Permalink
fixes #13: Pass current branch to validate commit messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsqd committed Jul 31, 2024
1 parent dbfebab commit 032bfed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/run-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 032bfed

Please sign in to comment.