Skip to content

backport: Modernise the backport workflow#82

Merged
otavio merged 1 commit into
masterfrom
modernise-backport
Jun 14, 2026
Merged

backport: Modernise the backport workflow#82
otavio merged 1 commit into
masterfrom
modernise-backport

Conversation

@otavio

@otavio otavio commented Jun 14, 2026

Copy link
Copy Markdown
Member

The backport 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.

This switches to the maintained korthout/backport-action@v4, grants the required contents and pull-requests write permissions, and bumps actions/checkout to v4. It triggers on both closed and labeled, so a backport <branch> label backports automatically on merge whether the label was added before or after merging, with no manual /backport comment.

Pairs with the backport wrynose / backport scarthgap labels.

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>
@otavio otavio merged commit 2db0ac7 into master Jun 14, 2026
@otavio otavio deleted the modernise-backport branch June 14, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant