Skip to content

Commit

Permalink
only comment on PR after test
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu committed Nov 11, 2024
1 parent 31002ae commit 9e7831b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: go test -v ./...
# Comment test results on the PR
- name: Comment PR
if: always()
if: github.event_name == 'pull_request' && always()
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9e7831b

Please sign in to comment.