File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 get_pr_details :
3434 permissions :
3535 actions : read # download PR artifact
36+ contents : read # checkout code
3637 # Guardrails to only ever run if PR recording workflow was indeed
3738 # run in a PR event and ran successfully
3839 if : ${{ github.event.workflow_run.conclusion == 'success' }}
Original file line number Diff line number Diff line change 3232 get_pr_details :
3333 permissions :
3434 actions : read # download PR artifact
35+ contents : read # checkout code
3536 if : ${{ github.event.workflow_run.conclusion == 'success' }}
3637 uses : ./.github/workflows/reusable_export_pr_details.yml
3738 with :
Original file line number Diff line number Diff line change 3333 get_pr_details :
3434 permissions :
3535 actions : read # download PR artifact
36+ contents : read # checkout code
3637 if : github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
3738 uses : ./.github/workflows/reusable_export_pr_details.yml
3839 with :
Original file line number Diff line number Diff line change 3333 get_pr_details :
3434 permissions :
3535 actions : read # download PR artifact
36+ contents : read # checkout code
3637 if : ${{ github.event.workflow_run.conclusion == 'success' }}
3738 uses : ./.github/workflows/reusable_export_pr_details.yml
3839 with :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ name: PR requirements
1717# due to limitations in GH API.
1818
1919on :
20- pull_request :
20+ pull_request :
2121 types :
2222 - opened
2323 - labeled
2626permissions : {} # no permission required
2727
2828jobs :
29- fail-for-draft :
29+ check-requirements :
3030 runs-on : ubuntu-latest
3131 steps :
3232 - name : Block if it doesn't minimum requirements
You can’t perform that action at this time.
0 commit comments