Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Add Renovate workflow configuration

Erwan Hervéa70883c1535c
diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml
new file mode 100644
index 0000000..a42c7f2
--- /dev/null
+++ b/.github/workflows/renovate.yml
@@ -0,0 +1,29 @@
+name: "Renovate"
+on:
+ workflow_dispatch:
+ inputs:
+ debug:
+ description: "Enable debug logging"
+ type: boolean
+ required: false
+ default: false
+ schedule:
+ - cron: "0 0 * * 1" # Triggers the workflow every Monday at midnight
+jobs:
+ renovate:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/[email protected]
+ - name: Self-hosted Renovate
+ uses: renovatebot/[email protected]
+ with:
+ token: ${{ secrets.RENOVATE_TOKEN }}
+ env:
+ LOG_LEVEL: ${{ inputs.DEBUG == 'true' && 'debug' || 'info' }}
+ RENOVATE_REPOSITORIES: "['${{ github.repository }}']"
+ RENOVATE_COMMIT_MESSAGE_SUFFIX: '{{#unless groupName}}{{#if (equals updateType "digest")}}(from {{currentDigestShort}}){{else}}(from {{currentVersion}}){{/if}}{{/unless}}'
+ RENOVATE_LABELS: "['dependencies']"
+ RENOVATE_DEPENDENCY_DASHBOARD_LABELS: "['dependencies']"
+ RENOVATE_EXTENDS: '["config:best-practices","mergeConfidence:all-badges",":pinVersions","security:openssf-scorecard",":prHourlyLimitNone",":separateMultipleMajorReleases",":configMigration","customManagers:dockerfileVersions"]'
+ RENOVATE_PLATFORM: "github"
diff --git a/renovate.json b/renovate.json
new file mode 100644
index 0000000..7190a60
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,3 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json"
+}