File tree 5 files changed +6
-2
lines changed
5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33
33
get_pr_details :
34
34
permissions :
35
35
actions : read # download PR artifact
36
+ contents : read # checkout code
36
37
# Guardrails to only ever run if PR recording workflow was indeed
37
38
# run in a PR event and ran successfully
38
39
if : ${{ github.event.workflow_run.conclusion == 'success' }}
Original file line number Diff line number Diff line change 32
32
get_pr_details :
33
33
permissions :
34
34
actions : read # download PR artifact
35
+ contents : read # checkout code
35
36
if : ${{ github.event.workflow_run.conclusion == 'success' }}
36
37
uses : ./.github/workflows/reusable_export_pr_details.yml
37
38
with :
Original file line number Diff line number Diff line change 33
33
get_pr_details :
34
34
permissions :
35
35
actions : read # download PR artifact
36
+ contents : read # checkout code
36
37
if : github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
37
38
uses : ./.github/workflows/reusable_export_pr_details.yml
38
39
with :
Original file line number Diff line number Diff line change 33
33
get_pr_details :
34
34
permissions :
35
35
actions : read # download PR artifact
36
+ contents : read # checkout code
36
37
if : ${{ github.event.workflow_run.conclusion == 'success' }}
37
38
uses : ./.github/workflows/reusable_export_pr_details.yml
38
39
with :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ name: PR requirements
17
17
# due to limitations in GH API.
18
18
19
19
on :
20
- pull_request :
20
+ pull_request :
21
21
types :
22
22
- opened
23
23
- labeled
26
26
permissions : {} # no permission required
27
27
28
28
jobs :
29
- fail-for-draft :
29
+ check-requirements :
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- name : Block if it doesn't minimum requirements
You can’t perform that action at this time.
0 commit comments