File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Auto Cherry-Pick from Upstream
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ base_branch :
7+ description : " Base branch to create the PR against"
8+ required : true
9+ default : " main"
10+ mode :
11+ description : " Run mode: cherry-pick or verify"
12+ required : false
13+ default : " cherry-pick"
14+
15+ pull_request :
16+ types : [opened, synchronize, labeled]
17+
18+ permissions :
19+ contents : write
20+ pull-requests : write
21+ packages : read
22+ issues : write
23+
24+ jobs :
25+ cherry-pick :
26+ if : github.event_name == 'workflow_dispatch' || contains(fromJson(toJson(github.event.pull_request.labels)).*.name, 'review-required')
27+ uses : step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@v1
28+ with :
29+ original-owner : " rtCamp"
30+ repo-name : " action-slack-notify"
31+ base_branch : ${{ inputs.base_branch }}
32+ mode : ${{ github.event_name == 'pull_request' && 'verify' || inputs.mode }}
You can’t perform that action at this time.
0 commit comments