Standardize Renovate configuration#81
Open
antunflas wants to merge 1 commit into
Open
Conversation
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR standardizes Renovate adoption for the repository by adding a minimal Renovate config that extends Infinum’s shared preset and introducing a scheduled GitHub Actions workflow that runs Renovate using a GitHub App token.
Changes:
- Add
renovate.jsonextendinginfinum/android-renovate-config(and specifying default reviewers). - Add
.github/workflows/renovate.ymlto run Renovate on a twice-monthly schedule (and via manual dispatch) using a GitHub App token with defaultGITHUB_TOKENpermissions zeroed.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| renovate.json | Adds Renovate configuration extending the shared Infinum preset (and defines repo-specific reviewers). |
| .github/workflows/renovate.yml | Adds a scheduled/manual Renovate workflow using GitHub App auth and scoping execution to this repository. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+5
to
+9
| ], | ||
| "reviewers": [ | ||
| "thisAAY", | ||
| "andronicus-kim" | ||
| ] |
Comment on lines
+18
to
+22
| - name: Get GitHub App token | ||
| id: app_token | ||
| uses: actions/create-github-app-token@v2 | ||
| with: | ||
| app-id: ${{ vars.RENOVATE_APP_ID }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Adopt the shared Renovate setup used across Infinum Android repos:
renovate.jsonextends the centralinfinum/android-renovate-configpreset (no per-repo rules to maintain)..github/workflows/renovate.ymlruns Renovate on a schedule, authenticated with the Renovate GitHub App (not a PAT or the defaultGITHUB_TOKEN).permissions: {}zeroes the default token, the Renovate action is pinned to a full commit SHA, andRENOVATE_REPOSITORIESscopes the run to this repo only.Prerequisites
The workflow requires, on this repo / org:
RENOVATE_APP_IDRENOVATE_APP_PRIVATE_KEYandroid-renovate-config(private preset repo).Testing
workflow_dispatch) and confirm the App token step succeeds and Renovate opens its onboarding/dependency PRs.