generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pull_request_target support (#1024)
* add pull_request_target support * fix typo in readme * Fix broken unit test * Add pull_request_target to test workflow * Update README * Prepare version 1.7.0 --------- Co-authored-by: Xavier Alvarez <[email protected]>
- Loading branch information
Showing
10 changed files
with
3,333 additions
and
2,544 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 |
---|---|---|
|
@@ -3,6 +3,9 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
pull_request_target: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
pull-requests: read | ||
|
@@ -13,6 +16,8 @@ jobs: | |
steps: | ||
- name: Clone git repository | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -27,6 +32,8 @@ jobs: | |
steps: | ||
- name: Clone git repository | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
- name: Run action locally | ||
uses: ./ | ||
with: | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.