From 63534f64690c32d83e7ee0fd93f32854c67fd32d Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 15 Dec 2023 21:48:46 -0500 Subject: actions: merge flake update prs as admin --- .github/workflows/update-flake.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-flake.yaml b/.github/workflows/update-flake.yaml index 41eb4fb..2de1686 100644 --- a/.github/workflows/update-flake.yaml +++ b/.github/workflows/update-flake.yaml @@ -7,7 +7,7 @@ on: jobs: update: - runs-on: "ubuntu-latest" + runs-on: ubuntu-latest permissions: contents: write @@ -19,7 +19,7 @@ jobs: - name: Install Nix uses: nixbuild/nix-quick-install-action@v26 - - name: Update lockfile + - name: Update lockfile & make PR uses: DeterminateSystems/update-flake-lock@v20 id: update with: @@ -27,7 +27,7 @@ jobs: - name: Merge PR shell: bash - run: gh pr merge --rebase "$PR_ID" + run: gh pr merge --admin --rebase "$PR_ID" env: GH_TOKEN: ${{ github.token }} PR_ID: ${{ steps.update.outputs.pull-request-number }} -- cgit v1.2.3