Skip to content
Snippets Groups Projects
Unverified Commit 20c2d286 authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs(gitea): add section about user scopes, rewrite (#22685)


Co-authored-by: default avatarRhys Arkins <rhys@arkins.net>
parent 2c264af8
No related branches found
No related tags found
No related merge requests found
# Gitea and Forgejo
Renovate supports [Gitea](https://gitea.io) and the new fork [Forgejo](https://forgejo.org).
Renovate supports [Gitea](https://gitea.io) and the [Forgejo](https://forgejo.org) fork.
Forgejo exists since `v1.18.0` and is currently fully compatible to Gitea.
## Authentication
First, [create a Personal Access Token](https://docs.gitea.io/en-us/api-usage/#authentication) for the bot account.
Let Renovate use your PAT by doing _one_ of the following:
First, [create a Personal Access Token (PAT)](https://docs.gitea.io/en-us/api-usage/#authentication) for the bot account.
The bot account should have full name and email address configured.
Then let Renovate use your PAT by doing _one_ of the following:
- Set your PAT as a `token` in your `config.js` file
- Set your PAT as an environment variable `RENOVATE_TOKEN`
- Set your PAT when you run Renovate in the CLI with `--token=`
Remember to set `platform=gitea` somewhere in your Renovate config file.
Either the account should have full name and email address set to allow Renovate to estabilish Git identity, or the `gitAuthor` config option should be set.
You must set `platform=gitea` in your Renovate config file.
The PAT should have these permissions:
- `repo`
- `read:user` and `read:email`
If you use Gitea packages, add the `read:packages` scope.
## Unsupported platform features/concepts
- **Adding reviewers to PRs not supported**: Gitea versions older than `v1.14.0` do not have the required API.
- **Setting `platformAutomerge` to use platform-native automerge for PRs not supported**: Gitea versions older than v1.17.0 do not have the required API.
- **Git upload filters**: If you're using a Gitea version older than `v1.16.0` then you must enable [clone filters](https://docs.gitea.io/en-us/clone-filters/).
- **Adding reviewers to PRs not supported**: Gitea versions older than `v1.14.0` lack the required API
- **Setting `platformAutomerge` to use platform-native automerge for PRs not supported**: Gitea versions older than `v1.17.0` lack the required API
- **Git upload filters**: If you're using a Gitea version older than `v1.16.0` then you must enable [clone filters](https://docs.gitea.io/en-us/clone-filters/)
## Features awaiting implementation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment