Skip to content

Commit

Permalink
fix: renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
mircea-pavel-anton committed Sep 12, 2024
1 parent fcd5a92 commit c82f095
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
with:
dry-run: "${{ inputs.dry-run == true || github.event_name == 'pull_request' }}"
log-level: "${{ inputs.log-level || 'debug' }}"
config-file: "renovate.json5"
config-file: renovate.json5
4 changes: 1 addition & 3 deletions .github/workflows/reusable-renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ env:
RENOVATE_DRY_RUN: "${{ inputs.dry-run == true }}"
RENOVATE_PLATFORM: github
RENOVATE_PLATFORM_COMMIT: true
RENOVATE_VERSION: 37.367.0
RENOVATE_GIT_AUTHOR: "mr-borboto[bot] <170036086+mr-borboto[bot]@users.noreply.github.com>"
RENOVATE_CONFIG: "${{ inputs.config-file }}"

jobs:
renovate:
Expand All @@ -52,5 +50,5 @@ jobs:
uses: renovatebot/github-action@dd4d265eb8646cd04fc5f86ff8bc8d496d75a251 # v40.2.8
with:
token: "${{ steps.app-token.outputs.token }}"
configurationFile: "${{ env.RENOVATE_CONFIG }}"
configurationFile: "${{ inputs.config-file }}"
renovate-version: "${{ env.WORKFLOW_RENOVATE_VERSION }}"
14 changes: 14 additions & 0 deletions .renovate/default.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"onboarding": false,
"extends": [
":dependencyDashboard",
"config:best-practices",
":disableRateLimiting",
":semanticCommits",
"github>mirceanton/reusable-workflows//.renovate/autoMerge.json5",
"github>mirceanton/reusable-workflows//.renovate/labels.json5",
"github>mirceanton/reusable-workflows//.renovate/semanticCommits.json5"
]
}
16 changes: 3 additions & 13 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"extends": [
":dependencyDashboard",
":timezone(Europe/Bucharest)",
"config:best-practices",
":disableRateLimiting",
":semanticCommits",
"github>mirceanton/reusable-workflows//.renovate/autoMerge-actions.json5",
"github>mirceanton/reusable-workflows//.renovate/devcontainerNoDigest.json5",
"github>mirceanton/reusable-workflows//.renovate/labels.json5",
"github>mirceanton/reusable-workflows//.renovate/semanticCommits.json5"
]
"extends": [
"github>mirceanton/reusable-workflows//.renovate/default.json5"
]
}

0 comments on commit c82f095

Please sign in to comment.