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 : backports
2+
3+ on :
4+ pull_request_target :
5+ types : [closed]
6+ issue_comment :
7+ types : [created]
8+
9+ permissions :
10+ contents : write
11+ pull-requests : write
12+
13+ jobs :
14+ cherry-pick :
15+ runs-on : ubuntu-latest
16+ # NOTE(mnaser): https://github.com/korthout/backport-action?tab=readme-ov-file#trigger-using-a-comment
17+ if : >
18+ (
19+ github.event_name == 'pull_request_target' &&
20+ github.event.pull_request.merged
21+ ) || (
22+ github.event_name == 'issue_comment' &&
23+ github.event.issue.pull_request &&
24+ github.event.comment.user.id != 105816074 &&
25+ startsWith(github.event.comment.body, '/backport')
26+ )
27+ steps :
28+ - uses : actions/checkout@v4
29+ with :
30+ token : ${{ secrets.VEXXHOST_BOT_PAT }}
31+ - uses : korthout/backport-action@436145e922f9561fc5ea157ff406f21af2d6b363 # v3.2.0
32+ with :
33+ github_token : ${{ secrets.VEXXHOST_BOT_PAT }}
34+ copy_labels_pattern : skip-release-notes
You can’t perform that action at this time.
0 commit comments