From fb5b69410de540c3696d67dc44c2cef3c60cc528 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 30 Sep 2024 07:33:17 -0400 Subject: ci: use github app for flake.lock PRs --- .github/workflows/update-lock.yaml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/update-lock.yaml (limited to '.github/workflows/update-lock.yaml') diff --git a/.github/workflows/update-lock.yaml b/.github/workflows/update-lock.yaml deleted file mode 100644 index d38808e..0000000 --- a/.github/workflows/update-lock.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Update flake.lock - -on: - schedule: - # run every saturday - - cron: "0 0 * * 6" - workflow_dispatch: - -jobs: - update: - name: Update - - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v14 - - - name: Update lockfile & make PR - uses: DeterminateSystems/update-flake-lock@v24 - id: update - with: - commit-msg: "flake: update inputs" - pr-title: "flake: update inputs" - token: ${{ secrets.MERGE_TOKEN }} - - - name: Enable auto-merge - shell: bash - if: steps.update.outputs.pull-request-number != '' - run: gh pr merge --auto --squash "$PR_ID" - env: - GH_TOKEN: ${{ secrets.MERGE_TOKEN }} - PR_ID: ${{ steps.update.outputs.pull-request-number }} -- cgit v1.2.3