Skip to content

Commit 2136d00

Browse files
committed
Fix Commit Coach workflow command syntax
- Remove incorrect '--' argument separator from github command calls - Pass options directly to the github command as expected by the CLI
1 parent 2ad6239 commit 2136d00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/commit-coach.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ jobs:
9393
run: |
9494
# For push events, analyze the latest commit
9595
if [ "${{ github.event_name }}" = "push" ]; then
96-
pnpm run coach github -- --commit ${{ github.sha }} --owner ${{ github.repository_owner }} --repo-name ${{ github.event.repository.name }}
96+
pnpm run coach github --commit ${{ github.sha }} --owner ${{ github.repository_owner }} --repo-name ${{ github.event.repository.name }}
9797
fi
9898
9999
# For pull request events, analyze the PR commits
100100
if [ "${{ github.event_name }}" = "pull_request" ]; then
101-
pnpm run coach github -- --pr ${{ github.event.number }} --owner ${{ github.repository_owner }} --repo-name ${{ github.event.repository.name }}
101+
pnpm run coach github --pr ${{ github.event.number }} --owner ${{ github.repository_owner }} --repo-name ${{ github.event.repository.name }}
102102
fi

0 commit comments

Comments
 (0)