generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
pull_request_target
to avoid GH Action failures when PR is crea…
…ted from a fork
- Loading branch information
1 parent
7e3fc70
commit aebac19
Showing
1 changed file
with
2 additions
and
2 deletions.
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 |
---|---|---|
|
@@ -8,14 +8,14 @@ To install it, copy and paste the following snippet into your `.github/workflows | |
name: 'Require tests if source code is changed' | ||
|
||
on: | ||
pull_request: | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: infection/[email protected].1 | ||
- uses: infection/[email protected].2 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
|