diff options
| author | seth <[email protected]> | 2023-12-15 02:38:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-15 16:41:13 -0500 |
| commit | 03223e6e6d061a18b66a69092c59e6a0cb6d1d3f (patch) | |
| tree | 87d1d7aa8edd58790a078b36ceebf0e702570a09 /.github/workflows/update-flake.yaml | |
| parent | 2ee6985ee62036afe8c1adc76849ffaf42a08bb8 (diff) | |
ci: garnix -> gha + attic
Diffstat (limited to '.github/workflows/update-flake.yaml')
| -rw-r--r-- | .github/workflows/update-flake.yaml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/update-flake.yaml b/.github/workflows/update-flake.yaml index f27539f..f87726f 100644 --- a/.github/workflows/update-flake.yaml +++ b/.github/workflows/update-flake.yaml @@ -10,27 +10,23 @@ jobs: update: runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - uses: actions/checkout@v4 - name: Install Nix - uses: nixbuild/nix-quick-install-action@v26 + uses: DeterminateSystems/nix-installer-action@v9 - - name: Update and create PR + - name: Update lockfile & make PR uses: DeterminateSystems/update-flake-lock@v20 id: update with: commit-msg: "flake: update inputs" pr-title: "flake: update inputs" - token: ${{ github.token }} + token: ${{ secrets.MERGE_TOKEN }} - name: Enable auto-merge shell: bash run: gh pr merge --auto --rebase "$PR_ID" env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.MERGE_TOKEN }} PR_ID: ${{ steps.update.outputs.pull-request-number }} |
