Not adding comment on push (only pull_request)

This commit is contained in:
David Négrier 2020-05-13 15:58:17 +02:00
parent c1659ecac4
commit cc621c09cb

View File

@ -78,6 +78,7 @@ jobs:
- name: Add a comment in PR - name: Add a comment in PR
uses: unsplash/comment-on-pr@v1.2.0 uses: unsplash/comment-on-pr@v1.2.0
if: ${{ github.event_name == 'pull_request' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with: