forked from NVIDIA/cuda-python
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 757 Bytes
/
backport.yml
File metadata and controls
29 lines (26 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Backport merged pull request
on:
pull_request_target:
types: [closed, labeled]
branches:
- main
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
jobs:
backport:
name: Backport pull request
if: ${{ github.repository_owner == 'nvidia' &&
github.event.pull_request.merged == true
}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create backport pull requests
uses: korthout/backport-action@v3
with:
copy_assignees: true
copy_labels_pattern: true
copy_requested_reviewers: true
label_pattern: to-be-backported
target_branches: 11.8.x