Commit 2db0ac7
committed
backport: Modernise the backport workflow
The workflow used the deprecated zeebe-io/backport-action@v0.0.4 and
relied on the default GITHUB_TOKEN, which is read-only by default, so it
could not actually create the backport branches and pull requests.
Switch to the maintained korthout/backport-action@v4, grant the
required contents and pull-requests write permissions, and bump
actions/checkout to v4. Trigger on both 'closed' and 'labeled' so a
'backport <branch>' label backports automatically on merge whether it
was added before or after merging, with no manual /backport comment.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>1 parent 60aec30 commit 2db0ac7
1 file changed
Lines changed: 12 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | | - | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | | - | |
10 | | - | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | | - | |
| 18 | + | |
14 | 19 | | |
15 | | - | |
16 | 20 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 21 | + | |
0 commit comments