change to GH token
All checks were successful
Renovate / Run Renovate (push) Successful in 7s

This commit is contained in:
2025-11-06 13:32:26 +07:00
parent d86315bca6
commit 098da8a988
2 changed files with 16 additions and 4 deletions

View File

@@ -37,10 +37,11 @@ jobs:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
# Optional: GitHub token for accessing GitHub releases # Optional: GitHub token for accessing GitHub releases
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Note: Use GH_TOKEN not GITHUB_TOKEN (Gitea naming restrictions)
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# Logging # Logging
LOG_LEVEL: info LOG_LEVEL: info
# Ensure we use the correct config # Ensure we use the correct config
RENOVATE_REQUIRE_CONFIG: optional RENOVATE_REQUIRE_CONFIG: optional

View File

@@ -44,10 +44,21 @@ Documentation for the renovate-config repository explaining setup and usage.
- Edit `config.js` to match your Gitea endpoint - Edit `config.js` to match your Gitea endpoint
- Edit `autodiscoverFilter` to match your organization/user - Edit `autodiscoverFilter` to match your organization/user
- Add `RENOVATE_TOKEN` as repository secret - Add `RENOVATE_TOKEN` as repository secret
- Optionally add `GITHUB_TOKEN` for GitHub releases - Optionally add `GH_TOKEN` for GitHub releases (not `GITHUB_TOKEN` - see Gitea naming rules below)
### Gitea Secret Naming Rules
Gitea has specific rules for secret names:
- Must contain only alphanumeric characters ([a-z], [A-Z], [0-9]) or underscores (_)
- Cannot start with `GITHUB_` or `GITEA_` prefix
- Cannot start with a number
- Not case-sensitive
- Must be unique at the repository level
**Therefore**: Use `GH_TOKEN` instead of `GITHUB_TOKEN` for the GitHub access token.
## See Full Documentation ## See Full Documentation
For complete setup instructions, see: For complete setup instructions, see:
- [RENOVATE.md](../RENOVATE.md) - Full Renovate documentation - [RENOVATE.md](../RENOVATE.md) - Full Renovate documentation
- [Official Gitea Tutorial](https://about.gitea.com/resources/tutorials/use-gitea-and-renovate-bot-to-automatically-monitor-software-packages) - [Official Gitea Tutorial](https://about.gitea.com/resources/tutorials/use-gitea-and-renovate-bot-to-automatically-monitor-software-packages)