-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): revert usage of pull_request_target trigger (#5903)
* remove pack-and-comment workflow STENCIL-1363 * revert usage of pull_request_target trigger
- Loading branch information
1 parent
3def2b7
commit 7ae36aa
Showing
3 changed files
with
1 addition
and
106 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ name: Tech Debt Burndown | |
# progress on them to each PR. | ||
|
||
on: | ||
pull_request_target: | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
|
@@ -27,12 +27,6 @@ jobs: | |
|
||
- name: Checkout PR branch | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
# the pull_request_target event will consider the HEAD of `main` to be the SHA to use. | ||
# attempt to use the SHA associated with a pull request and fallback to HEAD of `main` | ||
ref: ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }} | ||
persist-credentials: false | ||
if: ${{ matrix.branch == 'pr' }} | ||
|
||
- name: Get Core Dependencies | ||
uses: ./.github/workflows/actions/get-core-dependencies | ||
|
@@ -65,12 +59,6 @@ jobs: | |
|
||
- name: Checkout PR branch | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
# the pull_request_target event will consider the HEAD of `main` to be the SHA to use. | ||
# attempt to use the SHA associated with a pull request and fallback to HEAD of `main` | ||
ref: ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }} | ||
persist-credentials: false | ||
if: ${{ matrix.branch == 'pr' }} | ||
|
||
- name: Install ts-prune | ||
run: npm install [email protected] | ||
|
@@ -91,11 +79,6 @@ jobs: | |
steps: | ||
- name: Checkout current branch | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
# the pull_request_target event will consider the HEAD of `main` to be the SHA to use. | ||
# attempt to use the SHA associated with a pull request and fallback to HEAD of `main` | ||
ref: ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }} | ||
persist-credentials: false | ||
|
||
- name: Get Core Dependencies | ||
uses: ./.github/workflows/actions/get-core-dependencies | ||
|