dependabot[bot]
db51842fd8
build(deps): bump @octokit/request-error, @octokit/rest, @release-it/conventional-changelog and release-it
...
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js ) to 6.1.7 and updates ancestor dependencies [@octokit/request-error](https://github.com/octokit/request-error.js ), [@octokit/rest](https://github.com/octokit/rest.js ), [@release-it/conventional-changelog](https://github.com/release-it/conventional-changelog ) and [release-it](https://github.com/release-it/release-it ). These dependencies need to be updated together.
Updates `@octokit/request-error` from 3.0.2 to 6.1.7
- [Release notes](https://github.com/octokit/request-error.js/releases )
- [Commits](https://github.com/octokit/request-error.js/compare/v3.0.2...v6.1.7 )
Updates `@octokit/rest` from 18.12.0 to 21.1.0
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.12.0...v21.1.0 )
Updates `@release-it/conventional-changelog` from 7.0.2 to 10.0.0
- [Release notes](https://github.com/release-it/conventional-changelog/releases )
- [Commits](https://github.com/release-it/conventional-changelog/compare/7.0.2...10.0.0 )
Updates `release-it` from 16.1.3 to 18.1.2
- [Release notes](https://github.com/release-it/release-it/releases )
- [Changelog](https://github.com/release-it/release-it/blob/main/CHANGELOG.md )
- [Commits](https://github.com/release-it/release-it/compare/16.1.3...18.1.2 )
---
updated-dependencies:
- dependency-name: "@octokit/request-error"
dependency-type: indirect
- dependency-name: "@octokit/rest"
dependency-type: direct:production
- dependency-name: "@release-it/conventional-changelog"
dependency-type: direct:development
- dependency-name: release-it
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 19:23:42 +00:00
github-actions[bot]
b9ed3ac959
chore: release v4.8.4 ( #147 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-11-02 13:31:20 +01:00
Andrea Lamparelli
3deee59d4c
fix: abort conflicting cherry-pick before starting new one ( #146 )
...
Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2024-10-28 11:51:36 +01:00
Andrea Lamparelli
2b4b429356
build(deps): audit run ( #143 )
...
Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2024-10-10 11:16:48 +02:00
dependabot[bot]
31eabaf84a
build(deps): bump cookie and express ( #142 )
...
Bumps [cookie](https://github.com/jshttp/cookie ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases )
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1 )
Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1 )
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 11:07:36 +02:00
github-actions[bot]
a14014e89e
chore: release v4.8.3 ( #141 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-10-10 10:58:28 +02:00
Ratchanan Srirattanamet
b4d0481c56
fix: auto-no-squash inference for GitLab ( #140 )
...
When a GitLab MR is not squashed, `squash_commit_sha` will be `null`,
not `undefined`. Update `inferSquash()` to account for this.
2024-10-07 14:40:31 +02:00
github-actions[bot]
c3daf80306
chore: release v4.8.2 ( #139 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-10-07 11:21:34 +02:00
Andrea Lamparelli
6d6592f958
ci: upgrade github actions ( #138 )
...
Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2024-10-03 20:04:40 +02:00
Ratchanan Srirattanamet
e2d73d050c
fix: cherry-pick order on GitLab by reversing commmit list only once ( #137 )
...
GitLabClient already handle commit order reversing, so re-handle it in
Runner causes cherry-pick order on GitLab to be wrong.
Remove commit order handling from Runner, and instead handle difference
between GitHub and Codeberg inside GitHubClient.
Now, since the default of --bp-branch-name takes the commit list from
{GitHub,GitLab}Client directly, that means backporting branch name
on Codeberg will also be changed to have commits in the correct order
too (old to new, in line with GitHub and GitLab), which is IMO a nice
bonus.
2024-10-03 19:39:03 +02:00
Ratchanan Srirattanamet
1e8358bb2c
fix: handle Codeberg returning null entry in requested_reviewers ( #136 )
...
Codeberg can return null as part of requested_reviewers (presumably
because that user has been deleted). Handle that case, and also for
assignees since we're at it.
2024-10-03 19:21:14 +02:00
dependabot[bot]
fe22142b85
build(deps): bump serve-static and express ( #134 )
...
Bumps [serve-static](https://github.com/expressjs/serve-static ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases )
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md )
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2 )
Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: serve-static
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 16:59:26 +02:00
dependabot[bot]
26a4c5dfd2
build(deps): bump axios from 1.6.0 to 1.7.4 ( #133 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.6.0 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 09:53:44 +02:00
github-actions[bot]
c5d7f0ea56
chore: release v4.8.1 ( #132 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-07-16 19:27:31 +02:00
Andrea Lamparelli
cb3473d7c9
fix(gh130): apply commits in the correct order on github ( #131 )
2024-07-16 17:49:23 +02:00
dependabot[bot]
da6431b114
build(deps-dev): bump braces from 3.0.2 to 3.0.3 ( #129 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 14:05:07 +02:00
github-actions[bot]
c22286f85e
chore: release v4.8.0 ( #128 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-04-11 08:44:11 +02:00
Andrea Lamparelli
2bb7f73112
feat: implement error notification as pr comment ( #124 )
...
* feat: implement error notification as pr comment
* Update action.yml
Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
* feat: implement gitlab client and surround with try catch
* docs: add error notification enablment in the doc
* feat: disable comment if dry-run
* feat: update the default comment on error
---------
Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
2024-04-10 23:01:16 +02:00
Earl Warren
6042bcc40b
feat: auto-detect the value of the no-squash option ( #118 )
...
The auto-no-squash option is added to:
* backport all the commits when the pull/merge request has been merged
* backport the squashed commit otherwise
It is equivalent to dynamically adjust the value of the no-squash
option, depending on the context.
The no-squash option is kept for backward compatibility for a single
use case: backporting the merged commit instead of backporting the
commits of the pull/merge request request.
Detecting if a pull/merge request was squashed or not depends on the
underlying forge:
* Forgejo / GitHub: use the API to count the number of parents
* GitLab: if the squash_commit_sha is set, the merge request was
squashed
If the pull/merge request is open, always backport all the commits it
contains.
Fixes: https://github.com/kiegroup/git-backporting/issues/113
Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2024-04-08 18:51:13 +02:00
github-actions[bot]
fc5dba6703
chore: release v4.7.1 ( #122 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-04-03 10:32:37 +02:00
Earl Warren
e6f86f8f83
fix: gha input is target-branch-pattern, not target-reg-exp ( #120 )
2024-04-03 08:44:29 +02:00
github-actions[bot]
0a07bf30c8
chore: release v4.7.0 ( #117 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-04-02 11:23:43 +02:00
Earl Warren
6d9b9db590
fix: return GitHub no-squash commits in order ( #115 )
...
Fixes: https://github.com/kiegroup/git-backporting/issues/114
2024-04-02 11:17:41 +02:00
Earl Warren
fe6be83074
feat: add --cherry-pick-options to add to all cherry-pick run ( #116 )
...
Fixes: https://github.com/kiegroup/git-backporting/issues/111
2024-04-02 10:34:48 +02:00
Andrea Lamparelli
53cc505f17
feat(gh75): extract target branched from pr labels ( #112 )
2024-03-30 19:19:17 +01:00
Earl Warren
b2e2e271b9
docs: explain the strategy equivalent to the cherry-pick defaults ( #110 )
2024-03-30 11:04:32 +01:00
Andrea Lamparelli
ee7a87f26f
docs: remove migrating section ( #109 )
2024-03-29 09:39:39 +01:00
dependabot[bot]
b30ba6021a
build(deps-dev): bump express from 4.18.2 to 4.19.2 ( #108 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 19:51:30 +01:00
github-actions[bot]
ffe625d8b3
chore: release v4.6.0 ( #107 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-03-25 09:30:30 +01:00
Earl Warren
80a0b554f0
feat: add --git-client to explicitly set the type of forge ( #106 )
...
codeberg is running Forgejo and it may not be possible to infer that
from the URL alone. The same is true for GitHub Enterprise Server.
2024-03-23 17:13:14 +01:00
dependabot[bot]
646d8fe41c
build(deps): bump follow-redirects from 1.15.4 to 1.15.6 ( #104 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 16:06:11 +01:00
Earl Warren
a36b740991
docs: fix typos ( #105 )
...
Signed-off-by: Earl Warren <contact@earl-warren.org>
2024-03-22 16:04:20 +01:00
github-actions[bot]
f4a2683189
chore: release v4.5.2 ( #103 )
...
* chore: release v4.5.2
* Update CHANGELOG.md
---------
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2024-03-08 12:51:25 +01:00
Andrea Lamparelli
c8ede8d4e2
build: upgrade to node20 for gha ( #102 )
2024-03-07 09:35:08 +01:00
github-actions[bot]
bce5dd4f99
chore: release v4.5.1 ( #101 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2024-02-23 15:29:56 +01:00
Andrea Lamparelli
c57fca6bd6
fix(gh-96): fix git token parsing ( #98 )
2024-02-23 15:13:34 +01:00
Andrea Lamparelli
2c5c54654d
build: skip ci when not required ( #100 )
2024-02-23 11:50:56 +01:00
Andrea Lamparelli
5afc464268
chore: add issue templates and improve pr template ( #99 )
2024-02-23 11:44:47 +01:00
Ratchanan Srirattanamet
9bcd6e6b55
fix: --auth when --git-user contains space ( #95 )
...
Since --git-user is a user-facing name, it's common to include a space
in it. As such, it's not suitable to use as a username in a Git remote
URL.
GitLab documented that it doesn't (yet?) check for username [1], and
from my testing GitHub doesn't seem to care either. So just use an
arbitrary name as a username.
[1] https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
2024-02-23 10:30:18 +01:00
Andrea Lamparelli
d4dc510af1
build: upgrade release-it ( #94 )
2024-02-20 14:41:12 +01:00
Ratchanan Srirattanamet
300fa91a8a
fix: --no-squash on single-commit GitLab MR ( #93 )
...
Due to off-by-one error in GitLabMapper, --no-squash was not effective
on an MR containing single commit. Fix by using the same condition as
GitHubMapper.
2024-02-20 14:24:08 +01:00
dependabot[bot]
b7df1f80dc
build(deps): bump follow-redirects from 1.15.2 to 1.15.4 ( #92 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 10:01:35 +01:00
github-actions[bot]
204ebd4376
chore: release v4.5.0 ( #89 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2023-12-10 23:18:55 +01:00
Andrea Lamparelli
70da575afc
feat(gh-85): take git tokens from environment ( #88 )
2023-12-10 22:05:53 +01:00
github-actions[bot]
aac73bf7c5
chore: release v4.4.1 ( #87 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2023-12-05 16:25:50 +01:00
Shyim
ed32d2275b
fix: namespace parsing in gitlab ( #84 )
...
* fix: namespace parsing in gitlab
* test: add test for nested namespace
---------
Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2023-12-05 16:08:49 +01:00
dependabot[bot]
e7c9b4795b
build(deps): bump axios from 1.4.0 to 1.6.0 ( #83 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 22:33:56 +01:00
dependabot[bot]
2db9eb3ef2
build(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 ( #82 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 11:56:17 +02:00
github-actions[bot]
4313be48e7
chore: release v4.4.0 ( #81 )
...
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2023-08-18 13:24:39 +02:00
Andrea Lamparelli
9f0fbc0b2f
feat: integrate with codeberg ( #80 )
2023-08-18 13:15:38 +02:00