diff --git a/.github/workflows/update-json.yml b/.github/workflows/update-json.yml index 5ef9677..fe0eba7 100644 --- a/.github/workflows/update-json.yml +++ b/.github/workflows/update-json.yml @@ -3,18 +3,19 @@ name: Update JSON on: pull_request: branches: [main] + workflow_dispatch: permissions: contents: write jobs: update-json: - if: github.event.pull_request.user.login == 'renovate[bot]' + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - ref: ${{ github.head_ref }} + ref: ${{ github.head_ref || github.ref_name }} persist-credentials: false - uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31.10.6 - name: Run update script diff --git a/renovate.json b/renovate.json index 712e3f9..055bbd4 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,8 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], + "extends": [ + "github>damoun/renovate-config" + ], "customManagers": [ { "customType": "regex",