diff --git a/.github/renovate.json5 b/.github/renovate.json5 deleted file mode 100644 index c971cf9..0000000 --- a/.github/renovate.json5 +++ /dev/null @@ -1,83 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended", - "docker:enableMajor", - ":automergeBranch", - ":disableRateLimiting", - ":dependencyDashboard", - ":semanticCommits", - ":skipStatusChecks", - ":timezone(Europe/Paris)" - ], - "onboarding": false, - "requireConfig": "ignored", - "dependencyDashboardTitle": "Renovate Dashboard 🤖", - "suppressNotifications": ["prEditedNotification", "prIgnoreNotification"], - "customManagers": [ - { - "customType": "regex", - "description": ["Process container versions"], - "fileMatch": ["(^|/)apps/.+\\.container$"], - "matchStrings": [ - "Image=(?[^:]+):(?[^\\s@]+)(@(?sha256:[0-9a-f]+))?" - ], - "datasourceTemplate": "docker", - "versioningTemplate": "docker" - }, - { - "customType": "regex", - "description": ["Process taskfile dependencies"], - "fileMatch": ["(^|/)Taskfile\\.ya?ml$"], - "matchStrings": [ - "datasource=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\\n.+: (&\\S+\\s)?(?\\S+)" - ], - "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" - } - ], - "packageRules": [ - { - "addLabels": ["renovate/container", "type/major"], - "additionalBranchPrefix": "{{parentDir}}-", - "commitMessageExtra": " ( {{currentVersion}} → {{newVersion}} )", - "commitMessagePrefix": "feat({{parentDir}})!: ", - "commitMessageTopic": "{{depName}}", - "labels": ["app/{{parentDir}}"], - "matchDatasources": ["docker"], - "matchFileNames": ["apps/**/*.container"], - "matchUpdateTypes": ["major"] - }, - { - "addLabels": ["renovate/container", "type/minor"], - "additionalBranchPrefix": "{{parentDir}}-", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )", - "commitMessageTopic": "{{depName}}", - "labels": ["app/{{parentDir}}"], - "matchDatasources": ["docker"], - "matchFileNames": ["apps/**/*.container"], - "matchUpdateTypes": ["minor"], - "semanticCommitScope": "{{parentDir}}", - "semanticCommitType": "feat" - }, - { - "description": "Auto-merge container digests updates for trusted containers", - "matchDatasources": ["docker"], - "automerge": true, - "automergeType": "branch", - "matchUpdateTypes": ["digest"], - "matchPackagePatterns": ["cgr.dev/chainguard"] - }, - { - "addLabels": ["renovate/container", "type/patch"], - "additionalBranchPrefix": "{{parentDir}}-", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )", - "commitMessageTopic": "{{depName}}", - "labels": ["app/{{parentDir}}"], - "matchDatasources": ["docker"], - "matchFileNames": ["apps/**/*.container"], - "matchUpdateTypes": ["patch"], - "semanticCommitScope": "{{parentDir}}", - "semanticCommitType": "fix" - } - ] -} diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml deleted file mode 100644 index 2edb3ad..0000000 --- a/.github/workflows/renovate.yaml +++ /dev/null @@ -1,64 +0,0 @@ ---- -# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json -name: Renovate - -on: - workflow_dispatch: - inputs: - # trunk-ignore(checkov/CKV_GHA_7) - dryRun: - description: Dry Run - default: "false" - required: false - logLevel: - description: Log Level - default: debug - required: false - version: - description: Renovate version - default: latest - required: false - schedule: - - cron: 0 0 * * * # Every day - push: - branches: [main] - paths: - - .github/renovate.json5 - - .github/renovate/**.json5 - -concurrency: - group: ${{ github.workflow }}-${{ github.event.number || github.ref }} - cancel-in-progress: true - -env: - LOG_LEVEL: "${{ inputs.logLevel || 'debug' }}" - RENOVATE_AUTODISCOVER: true - RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}" - RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}" - RENOVATE_PLATFORM: github - RENOVATE_PLATFORM_COMMIT: true - WORKFLOW_RENOVATE_VERSION: "${{ inputs.version || 'latest' }}" - -jobs: - renovate: - name: Renovate - runs-on: ubuntu-latest - steps: - - name: Generate Token - uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1 - id: app-token - with: - app-id: "${{ secrets.BOT_APP_ID }}" - private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" - - - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - with: - token: "${{ steps.app-token.outputs.token }}" - - - name: Renovate - uses: renovatebot/github-action@042670e39b8d7335e992c3fa526ecbfbd52ef57b # v40.2.2 - with: - configurationFile: .github/renovate.json5 - token: "${{ steps.app-token.outputs.token }}" - renovate-version: "${{ env.WORKFLOW_RENOVATE_VERSION }}"