Releases: korthout/backport-action
Backport-action v4.0.1
What's Changed
This patch fixes a bug where environment variables were no longer passed to git since v4.0.0. For instance, this prevented the action to sign commits with GPG using variables like GNUPGHOME. With this fix, environment variables are provided to git again.
- fix: pass existing environment variables when executing git by @yafanasiev in #527
Full Changelog: v4.0.0...v4.0.1
Backport-action v4.0.0
What's Changed
The action now requires Node 24 to run, which is a breaking change. Runner version 2.327.1 or higher is required from now on.
Other changes
- refactor: use @actions/exec instead of execa by @yafanasiev in #510
- Prepare for v4 release by @korthout in #524
Updated dependencies
- Update dependency ts-jest to v29.4.5 by @renovate[bot] in #511
- Update dependency ts-jest to v29.4.6 by @renovate[bot] in #520
- Update dependency prettier to v3.7.4 by @renovate[bot] in #517
- Update dependency @actions/core to v2 by @renovate[bot] in #521
- Update dependency @actions/exec to v2 by @renovate[bot] in #522
Full Changelog: v3.4.1...v4.0.0
Backport-action v3.4.1
What's Changed
- fix(action.yml): remove github expression examples by @yafanasiev in #507
Full Changelog: v3.4.0...v3.4.1
Backport-action v3.4.0
What's Changed
You can now automatically enable auto-merge on pull requests created by backport-action thanks to a great contribution from @jasonwbarnett - enable it using auto_merge_enabled and control the merge method using auto_merge_method.
- feat: enable auto merge when creating branches by @jasonwbarnett in #498
It's now also easier to contribute to backport-action. Thanks to @yafanasiev, the CI can push newly built artifacts regardless of whether the PR comes from a fork or not.
- ci: separate workflow for publishing by @yafanasiev in #502
Updated dependencies
- Update korthout/backport-action digest to ca4972a by @renovate[bot] in #491
- Update dependency dedent to v1.7.0 by @renovate[bot] in #493
- Update actions/setup-node action to v5 by @renovate[bot] in #494
- deps: update Jest to v30, improve TS setup by @yafanasiev in #492
- Define dependency versions explicitly by @korthout in #496
- Update dependency ts-jest to v29.4.4 by @renovate[bot] in #499
- Update dependency @vercel/ncc to v0.38.4 by @renovate[bot] in #500
- Update dependency jest to v30.2.0 by @renovate[bot] in #504
- Update dependency typescript to v5.9.3 by @renovate[bot] in #505
New Contributors
- @jasonwbarnett made their first contribution in #498
Full Changelog: v3.3.0...v3.4.0
Backport-action v3.3.0
What's Changed
Thanks to a great contribution from @yafanasiev, you can now change the git committer name and email - enabling signing the cherry-picked commits.
- feat: make git committer name and email configurable by @yafanasiev in #488
Updated dependencies
- chore: Configure Renovate by @renovate[bot] in #481
- Pin dependencies by @renovate[bot] in #482
- build(deps-dev): bump prettier from 3.6.0 to 3.6.1 by @dependabot[bot] in #478
- build(deps-dev): bump prettier from 3.6.1 to 3.6.2 by @dependabot[bot] in #479
- Update dependency typescript to v5.9.2 by @renovate[bot] in #487
- Update actions/checkout action to v5 by @renovate[bot] in #489
- Update dependency ts-jest to v29.4.1 by @renovate[bot] in #490
New Contributors
- @renovate[bot] made their first contribution in #481
- @yafanasiev made their first contribution in #488
Full Changelog: v3.2.1...v3.3.0
Backport-action v3.2.1
What's Changed
Backport-action now detects when a backport branch or pull request already exists and continues without posting an error comment. This means you can safely add backport labels after a previous run. It also allows you to retry the workflow where the branch was pushed, but the pull request couldn’t be created. In earlier versions, rerunning in those situations would have left an error comment on the original pull request. Now, it handles these gracefully. The actions' log shows what happens in detail. Thanks @wolfgangwalther for this great contribution!
- Treat errors on repeated runs gracefully by @wolfgangwalther in #473
A typo in the actions' log was also fixed thanks to @codygarver.
- utils: fix typo in error message by @codygarver in #475
Updated dependencies
- build(deps): bump @actions/github from 6.0.0 to 6.0.1 by @dependabot in #464
- build(deps): bump dedent from 1.5.3 to 1.6.0 by @dependabot in #462
- build(deps): bump undici from 5.28.5 to 5.29.0 by @dependabot in #466
- build(deps-dev): bump typescript from 5.7.3 to 5.8.3 by @dependabot in #455 #460
- build(deps-dev): bump prettier from 3.5.2 to 3.6.0 by @dependabot in #456 #474
- build(deps-dev): bump ts-jest from 29.2.6 to 29.4.0 by @dependabot in #461 #467 #469
New Contributors
- @wolfgangwalther made their first contribution in #473
- @codygarver made their first contribution in #475
Full Changelog: v3.2.0...v3.2.1
Backport-action 3.2.0
What's Changed
This release adds two new inputs: add_labels and add_author_as_assignee.
add_labels allows you to specify additional labels for the backport pull request. Thanks @chancez for the great contribution!
- Add support for statically setting labels on backport PRs by @chancez in #432
- Delimit
add_labelsusing comma by @korthout in #454
add_author_as_assignee allows you to control whether the action should set the author of the original pull request as an assignee on the backport pull request. Thanks @soooch for the great contribution!
Updated Dependencies
- build(deps): bump @actions/core from 1.10.1 to 1.11.1 by @dependabot in #439
- build(deps-dev): bump @vercel/ncc from 0.38.1 to 0.38.3 by @dependabot in #440
- build(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #441
- build(deps): bump undici from 5.28.4 to 5.28.5 by @dependabot in #446
- build(deps): bump @octokit/request-error from 5.0.1 to 5.1.1 by @dependabot in #447
- build(deps): bump @octokit/plugin-paginate-rest from 9.1.2 to 9.2.2 by @dependabot in #448
- build(deps): bump @octokit/request from 8.1.4 to 8.4.1 by @dependabot in #449
- Bump dev dependencies and ES target by @korthout in #453
New Contributors
Full Changelog: v3.1.0...v3.2.0
Backport-action v3.1.0
What's Changed
This release adds a new input source_pr_number that allows you to specify the pull request to backport in your workflow. Previously, the action always determined the pull request from the event payload, limiting the action only to backport the pull request associated with the current workflow run. This new input can be helpful in workflows that prefer to be explicit, workflows that run on workflow_dispatch events, and complex workflows that require flexibility. Thanks for this great contribution @chancez!
New Contributors
Full Changelog: v3.0.2...v3.1.0
Backport-action v3.0.2
Fixed
This release fixes a small bug in the draft_commit_conflicts option for the experimental conflict_resolution feature. When encountering conflicts, the backport pull request is opened in draft mode with the conflicts committed. Instructions are provided to resolve these conflicts locally, but these were incorrect. For more details see #421.
Full Changelog: v3.0.1...v3.0.2
Backport-action v3.0.1
Fixed
This release fixes a small bug in the draft_commit_conflicts option for the experimental conflict_resolution feature. When encountering conflicts, the backport pull request is opened in draft mode with the conflicts committed. Instructions are provided to resolve these conflicts locally, but these were incorrect. For more details see #421.
Full Changelog: v3.0.0...v3.0.1