We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e17c9d commit 661c67aCopy full SHA for 661c67a
.github/workflows/backport.yml
@@ -0,0 +1,29 @@
1
+name: Backport merged pull request
2
+
3
+on:
4
+ pull_request_target:
5
+ types: [closed, labeled]
6
+ branches:
7
+ - main
8
9
+permissions:
10
+ contents: write # so it can comment
11
+ pull-requests: write # so it can create pull requests
12
13
+jobs:
14
+ backport:
15
+ name: Backport pull request
16
+ if: ${{ github.repository_owner == 'nvidia' &&
17
+ github.event.pull_request.merged == true
18
+ }}
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - name: Create backport pull requests
23
+ uses: korthout/backport-action@v3
24
+ with:
25
+ copy_assignees: true
26
+ copy_labels_pattern: true
27
+ copy_requested_reviewers: true
28
+ label_pattern: to-be-backported
29
+ target_branches: 11.8.x
0 commit comments