diff options
| author | seth <[email protected]> | 2023-12-15 21:48:46 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-15 21:48:46 -0500 |
| commit | 63534f64690c32d83e7ee0fd93f32854c67fd32d (patch) | |
| tree | cd3d269d9ed93351ccdcdc49c83a24942eb46051 /.github/workflows | |
| parent | ad2180ad1425dbc817ee623b0626a77ca52e97a6 (diff) | |
actions: merge flake update prs as admin
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/update-flake.yaml | 6 |
1 files 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 }} |
