Skip to content

Commit b7ca857

Browse files
authored
Fix pr test workflow from forks (#285)
* skip posting to the PR when the workflow is triggered by a fork * delete unneeded workflow
1 parent b9c156d commit b7ca857

2 files changed

Lines changed: 1 addition & 31 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- run: npm ci
2828
- run: npm test
2929
- uses: tintef/nyc-reporter-action@66a40cea2d02fdb0ac8fa045a7355cbbf9b991a1
30+
if: ${{ !github.event.pull_request.head.repo.fork }}
3031
with:
3132
GITHUB_TOKEN: ${{ github.token }}
3233
SKIP_COVERAGE_FOLDER: true

.github/workflows/review-probot-prs.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)