File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 description : " Specify a script to run after audit fix"
1616 required : false
1717 default : " yarn run all"
18+ pull_request :
19+ types : [opened, synchronize, labeled]
1820
1921permissions :
2022 contents : write
@@ -24,10 +26,12 @@ permissions:
2426
2527jobs :
2628 cherry-pick :
29+ if : github.event_name == 'workflow_dispatch' || contains(fromJson(toJson(github.event.pull_request.labels)).*.name, 'review-required')
2730 uses : step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@v1
2831 with :
2932 original-owner : " crazy-max"
3033 repo-name : " ghaction-setup-docker"
3134 base_branch : ${{ inputs.base_branch }}
3235 package_manager : " yarn"
3336 script : ${{ inputs.script || 'yarn run all' }}
37+ mode : ${{ github.event_name == 'pull_request' && 'verify' || inputs.mode }}
You can’t perform that action at this time.
0 commit comments