Skip to content

Commit

Permalink
Run build action only for WC PRs because forks wont have permission t…
Browse files Browse the repository at this point in the history
…o post comment.
  • Loading branch information
vedanshujain committed Feb 9, 2021
1 parent 8963755 commit 4a39b00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-build-and-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

- name: Add comment
uses: actions/github-script@v3
if: "woocommerce" == {{ github.repository_owner }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down

0 comments on commit 4a39b00

Please sign in to comment.