fix(ci): Configure Renovate for Forgejo platform #931

Merged
Jade merged 1 commit from tom/renovate-fix into main 2025-08-17 17:14:11 +00:00
Owner
  • Set platform to 'forgejo' with proper API endpoint
  • Use environment variables for all Renovate configuration
  • Add git timeout and disable GitHub token warnings
  • Move PR limit configuration to workflow
- Set platform to 'forgejo' with proper API endpoint - Use environment variables for all Renovate configuration - Add git timeout and disable GitHub token warnings - Move PR limit configuration to workflow
tcpipuk self-assigned this 2025-08-17 16:25:04 +00:00
fix(ci): Configure Renovate for Forgejo platform
All checks were successful
Checks / Prefligit / prefligit (push) Successful in 14s
Checks / Rust / Format (push) Successful in 50s
Checks / Prefligit / prefligit (pull_request) Successful in 17s
Documentation / Build and Deploy Documentation (pull_request) Successful in 36s
Checks / Rust / Clippy (push) Successful in 3m37s
Checks / Rust / Cargo Test (push) Successful in 4m4s
4dcf366edc
- Set platform to 'forgejo' with proper API endpoint
- Use environment variables for all Renovate configuration
- Add git timeout and disable GitHub token warnings
- Move PR limit configuration to workflow
tcpipuk force-pushed tom/renovate-fix from 4dcf366edc to 78cb452e8c 2025-08-17 16:30:26 +00:00 Compare
tcpipuk force-pushed tom/renovate-fix from 78cb452e8c to 14a4b24fc5 2025-08-17 16:38:14 +00:00 Compare
tcpipuk scheduled this pull request to auto merge when all checks succeed 2025-08-17 16:38:41 +00:00
tcpipuk canceled auto merging this pull request when all checks succeed 2025-08-17 16:40:45 +00:00
@ -61,4 +49,1 @@
LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
# Git author for commits - configured via repository variables
RENOVATE_GIT_AUTHOR: '${{ vars.RENOVATE_AUTHOR }}'
Owner

This doesn't seem to have been added back?

This doesn't seem to have been added back?
Author
Owner

Yeah, I don't know where I thought you could override the author, but it picks up the owner of the token automatically and there doesn't seem to be any way to override it. You may need to create a user and give that user a token 😔

Yeah, I don't know where I thought you could override the author, but it picks up the owner of the token automatically and there doesn't seem to be any way to override it. You may need to create a user and give that user a token 😔
Owner

😔 Well hopefully it picks it up right.

😔 Well hopefully it picks it up right.
@ -65,0 +53,4 @@
RENOVATE_ENDPOINT: ${{ github.server_url }}/api/v1
RENOVATE_GIT_TIMEOUT: 60000
RENOVATE_GIT_URL: 'endpoint'
RENOVATE_GITHUB_TOKEN_WARN: 'false'
Owner

TODO: Could also generate a token using the method in the sccache run or by setting a credential in the secrets. Something to come back to if it does start erroring due to rate limits.

TODO: Could also generate a token using the method in the sccache run or by setting a credential in the secrets. Something to come back to if it does start erroring due to rate limits.
Author
Owner

I think it's pretty good at retrying, it's just the default Git timeout is zero, so if it doesn't get a response it'll just sit there indefinitely. I gave it a 60 second maximum so there's always an upper limit on how long it should wait to decide something needs to be failed/retried.

I think it's pretty good at retrying, it's just the default Git timeout is zero, so if it doesn't get a response it'll just sit there indefinitely. I gave it a 60 second maximum so there's always an upper limit on how long it should wait to decide something needs to be failed/retried.
Jade approved these changes 2025-08-17 17:14:02 +00:00
Jade merged commit 14a4b24fc5 into main 2025-08-17 17:14:11 +00:00
tcpipuk deleted branch tom/renovate-fix 2025-08-17 17:15:01 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#931
No description provided.