Commit 0915af6
authored
Replace backport workflow. (#5125)
[SC-49830](https://app.shortcut.com/tiledb-inc/story/49830/the-backport-workflow-consistently-fails-to-run)
Due to [longstanding issues with the backport
workflow](https://github.com/TileDB-Inc/TileDB/issues?q=is%3Aissue+failed+to+backport),
it is time to move away from it, and this PR replaces it with the
battle-tested backport workflow used by the .NET project. This has been
made possible by dotnet/arcade#14034 which adds support for the workflow
to be used from repositories outside of the `dotnet` or `microsoft`
organizations.
One significant difference lies within the workflow's triggering method.
Whereas the old workflow triggers by adding a `backport` label in a
closed pull request, the new workflow triggers by commenting `/backport
to <branch>` in the pull request. I personally consider this to be
better, since posting a comment is a more explicit action that applying
a label, and we can still use the labels for reminding ourselves.
To validate that only authorized users can trigger it, the workflow
requires that those using it have their `TileDB-Inc` organization
membership set to public. You can change that from [the organization's
members page](https://github.com/orgs/TileDB-Inc/people).
If backporting fails, the new workflow will post a comment on the PR
instead of opening a new issue.
---
TYPE: NO_HISTORY1 parent e660107 commit 0915af6
1 file changed
+21
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments