@@ -7,7 +7,7 @@ name: Tech Debt Burndown
7
7
# progress on them to each PR.
8
8
9
9
on :
10
- pull_request_target :
10
+ pull_request :
11
11
branches :
12
12
- ' **'
13
13
27
27
28
28
- name : Checkout PR branch
29
29
uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
30
- with :
31
- # the pull_request_target event will consider the HEAD of `main` to be the SHA to use.
32
- # attempt to use the SHA associated with a pull request and fallback to HEAD of `main`
33
- ref : ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }}
34
- persist-credentials : false
35
- if : ${{ matrix.branch == 'pr' }}
36
30
37
31
- name : Get Core Dependencies
38
32
uses : ./.github/workflows/actions/get-core-dependencies
65
59
66
60
- name : Checkout PR branch
67
61
uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
68
- with :
69
- # the pull_request_target event will consider the HEAD of `main` to be the SHA to use.
70
- # attempt to use the SHA associated with a pull request and fallback to HEAD of `main`
71
- ref : ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }}
72
- persist-credentials : false
73
- if : ${{ matrix.branch == 'pr' }}
74
62
75
63
- name : Install ts-prune
76
64
run : npm install ts-prune@0.10.3
91
79
steps :
92
80
- name : Checkout current branch
93
81
uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
94
- with :
95
- # the pull_request_target event will consider the HEAD of `main` to be the SHA to use.
96
- # attempt to use the SHA associated with a pull request and fallback to HEAD of `main`
97
- ref : ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }}
98
- persist-credentials : false
99
82
100
83
- name : Get Core Dependencies
101
84
uses : ./.github/workflows/actions/get-core-dependencies
0 commit comments