You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 071effd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ This tool comes with some inputs that allow users to override the default behavi
115
115
| Configuration File | -cf, --config-file | N | Configuration file, in JSON format, containing all options to be overridded, note that if provided all other CLI options will be ignored ||
116
116
| Auth | -a, --auth | N | Git access/authorization token, if provided all token env variables will be ignored. See [auth token](#authorization-token) section for more details | "" |
117
117
| Folder | -f, --folder | N | Local folder full name of the repository that will be checked out, e.g., /tmp/folder | {cwd}/bp |
118
-
| Git Client | --git-client | N | Git client type <github|gitlab|codeberg>, if not set it is infered from pull-request
118
+
| Git Client | --git-client | N | Git client type <github|gitlab|codeberg|forgejo>, if not set it is infered from pull-request / env variables
119
119
| Git User | -gu, --git-user | N | Local git user name | "GitHub" |
120
120
| Git Email | -ge, --git-email | N | Local git user email | "noreply@github.com" |
121
121
| Title | --title | N | Backporting pull request title | "{original-pr-title}" |
@@ -147,7 +147,8 @@ Since version `4.5.0` we introduced a new feature that allows user to provide th
147
147
Here the supported list of env variables:
148
148
-`GITHUB_TOKEN`: this is checked only if backporting on Github platform.
149
149
-`GITLAB_TOKEN`: this is checked only if backporting on Gitlab platform.
150
-
-`CODEBERG_TOKEN`: this is checked only if backporting on Codeberg platform.
150
+
-`CODEBERG_TOKEN`: this is checked only if backporting on Codeberg.org.
151
+
-`FORGEJO_TOKEN`: this is checked only if backporting on Forgejo.
151
152
-`GIT_TOKEN`: this is considered if none of the previous envs are set.
152
153
153
154
> **NOTE**: if `--auth` argument is provided, all env variables will be ignored even if not empty.
@@ -211,7 +212,7 @@ Right now **Git Backporting** supports the following git management services:
211
212
212
213
****GITLAB***: This has been introduced since version `3.0.0`, it works for both public and private *GitLab* servers. The interaction with this service is performed using plain [*axios*](https://axios-http.com) requests. The *gitlab* api version that is used to make requests is `v4`, at the moment there is no possibility to override it.
213
214
214
-
****CODEBERG***: Introduced since version `4.4.0`, it works for public [codeberg.org](https://codeberg.org/) platform. Thanks to the api compatibility with GitHub, the interaction with this service is performed using using [*octokit*](https://octokit.github.io/rest.js) client library.
215
+
****CODEBERG/FORGEJO***: Introduced since version `4.4.0`, it works for public [codeberg.org](https://codeberg.org/) and self-hosted platform. Thanks to the api compatibility with GitHub, the interaction with this service is performed using using [*octokit*](https://octokit.github.io/rest.js) client library.
215
216
216
217
> **NOTE**: by default, all gitlab requests are performed setting `rejectUnauthorized=false`, planning to make this configurable too.
0 commit comments