Renovate: Forgejo-Plattform, keine PR-Limits
This commit is contained in:
1 parent
e25a66e940
commit
5d36b96244
2 files changed
+9
-1
No files matched your search
+4
-1
@@ -2,9 +2,12 @@
|
||||
// Repo-spezifische Regeln stehen in ../renovate.json.
|
||||
// Endpoint, Token und Repository werden von scripts/renovate-update.sh per Env-Variablen gesetzt.
|
||||
module.exports = {
|
||||
platform: "gitea", // Forgejo ist API-kompatibel zu Gitea
|
||||
platform: "forgejo",
|
||||
gitAuthor: "Renovate Bot <renovate@localhost>",
|
||||
onboarding: false, // kein Onboarding-PR, renovate.json liegt bereits im Repo
|
||||
requireConfig: "optional",
|
||||
// Lokale Demo: keine Drosselung, damit alle Update-PRs in einem Lauf entstehen
|
||||
prHourlyLimit: 0,
|
||||
prConcurrentLimit: 0,
|
||||
// Renovate prüft beim Lookup die Registries (npmjs.org / nuget.org) – das ist der einzige Netzverkehr nach außen.
|
||||
};
|
||||
@@ -9,6 +9,11 @@ cd "$ROOT_DIR"
|
||||
bash "$ROOT_DIR/scripts/forgejo-up.sh"
|
||||
TOKEN="$(cat "$STATE_DIR/token")"
|
||||
|
||||
# Optional: GitHub-Token (nur lesend) für Release Notes/Changelogs in den PRs
|
||||
if [[ -n "${GITHUB_TOKEN:-}" && -z "${RENOVATE_GITHUB_COM_TOKEN:-}" ]]; then
|
||||
export RENOVATE_GITHUB_COM_TOKEN="$GITHUB_TOKEN"
|
||||
fi
|
||||
|
||||
log "Starte Renovate ${RENOVATE_VERSION} gegen $FORGEJO_URL ($FORGEJO_USER/$FORGEJO_REPO)"
|
||||
RENOVATE_CONFIG_FILE="$ROOT_DIR/renovate/config.js" \
|
||||
RENOVATE_ENDPOINT="$FORGEJO_URL/api/v1" \
|
||||
|
||||
Reference in new issue
Block a user