You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/backport.yml
+32-14Lines changed: 32 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -4,33 +4,41 @@ on:
4
4
workflow_dispatch:
5
5
inputs:
6
6
end_branch:
7
-
description: 'The branch to end at (e.g. 4.7). Defaults to the oldest branch receiving security updates.'
7
+
description: 'The branch to end at (e.g. 6.9). Defaults to the current supported branch.'
8
8
required: false
9
9
type: string
10
-
default: '4.7'
10
+
default: '7.0'
11
11
pr-name:
12
-
description: 'The name for the pull requests. When provided, PRs are titled "<name> - <branch> branch".'
12
+
description: 'Pull request name (format is "<pr-name> - <branch> branch".'
13
13
required: false
14
14
type: string
15
15
default: ''
16
16
commit-sha:
17
-
description: 'The full length commit hash to cherry-pick. When provided, PR numbers are ignored.'
17
+
description: 'Full length commit hash to stage for backport.'
18
18
required: false
19
19
type: string
20
20
default: ''
21
21
pr_numbers:
22
-
description: 'Comma-separated PR numbers. Each PR is merged as a single commit using the PR title as the commit message. Ignored when a commit SHA is provided.'
22
+
description: 'Comma-separated PR numbers. Ignored when a SHA is provided.'
23
23
required: false
24
24
type: string
25
25
default: ''
26
-
pr-source:
27
-
description: 'The repository the PR numbers belong to.'
26
+
repo-source:
27
+
description: 'Repository to stage changes from.'
28
28
required: false
29
29
type: choice
30
30
default: 'upstream'
31
31
options:
32
32
- upstream
33
33
- current
34
+
pr-target:
35
+
description: 'Repository to submit pull requests to.'
36
+
required: false
37
+
type: choice
38
+
default: 'current'
39
+
options:
40
+
- upstream
41
+
- current
34
42
35
43
# Disable permissions for all available scopes by default.
36
44
# Any needed permissions should be configured at the job level.
BODY="This pull request backports \`${INPUTS_COMMIT_SHA}\` (https://github.com/${STEPS_UPSTREAM_OUTPUTS_REPO}/commit/${INPUTS_COMMIT_SHA}) to the \`${MATRIX_BRANCH}\` branch."
243
252
else
244
-
BODY="Backport to the \`${MATRIX_BRANCH}\` branch."
253
+
BODY="Backports to the \`${MATRIX_BRANCH}\` branch."
0 commit comments