From dd552f30659b8f6865bdad6906075444d7311814 Mon Sep 17 00:00:00 2001 From: Martin Norbury Date: Mon, 1 Jun 2026 15:16:09 +0100 Subject: [PATCH] feat(renovate): Add workflow_dispatch input to target specific repos Add an optional `repositories` input to the Renovate workflow_dispatch trigger. When provided, autodiscovery is disabled and Renovate runs against only the specified repo(s), enabling fast isolated test runs (e.g. to diagnose the 60-minute GitHub App token expiry on org-wide runs). Scheduled and blank-input runs keep full org autodiscovery unchanged. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/renovate.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 20c3c19..fc7340c 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,6 +1,11 @@ name: Renovate on: workflow_dispatch: + inputs: + repositories: + description: "Optional repo(s) to target, e.g. cloudquery/helm-charts-private (comma-separated). Blank = full org autodiscovery." + required: false + default: "" schedule: - cron: "0 */2 * * *" @@ -36,6 +41,11 @@ jobs: permission-vulnerability-alerts: read - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - name: Configure targeted run + if: inputs.repositories != '' + run: | + echo "RENOVATE_AUTODISCOVER=false" >> "$GITHUB_ENV" + echo "RENOVATE_REPOSITORIES=${{ inputs.repositories }}" >> "$GITHUB_ENV" - name: Renovate cache uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: