diff options
| author | seth <[email protected]> | 2023-12-14 04:38:36 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-14 18:03:17 -0500 |
| commit | 63498970aa68db136ac73150edcb1e547ed4a3e2 (patch) | |
| tree | 6da61b801dfc0aa220b8a471f4660c8e48417889 /.github/workflows/update-lock.yaml | |
| parent | b51e2fec599bbd859b17e10071985e5b3d77ec55 (diff) | |
ci: garnix -> gha + attic
Diffstat (limited to '.github/workflows/update-lock.yaml')
| -rw-r--r-- | .github/workflows/update-lock.yaml | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/.github/workflows/update-lock.yaml b/.github/workflows/update-lock.yaml index e735b81..98af4ef 100644 --- a/.github/workflows/update-lock.yaml +++ b/.github/workflows/update-lock.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 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v9 - - name: update lockfile + - 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 + - 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 }} |
