-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip stick and checkrun for PRs from forks.
- Loading branch information
1 parent
2ce5c47
commit 455b78d
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ jobs: | |
- name: Create CheckRun for Code Coverage # Create check run to publish the code coverage summary to the check summary | ||
uses: LouisBrunner/[email protected] | ||
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository) | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: Code Coverage | ||
|
@@ -115,7 +116,7 @@ jobs: | |
|
||
- name: Sticky Pull Request Comment | ||
uses: marocchino/[email protected] | ||
if: github.event_name == 'pull_request' | ||
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository) | ||
with: | ||
# Indicate if new comment messages should be appended to previous comment message. Only `true` is allowed. Just skip this item when you don't need it. | ||
append: true # optional, default is false | ||
|