fix: replace actions/checkout with git clone in nix-update workflow

- Remove dependency on Node.js for checkout action
- Use direct git clone with auth token
- Fixes: nixpkgs-5yn
This commit is contained in:
m3tm3re
2026-01-15 18:50:56 +01:00
parent 52d8cdee11
commit a034fc8873
2 changed files with 5 additions and 5 deletions

View File

@@ -21,10 +21,8 @@ jobs:
runs-on: nixos
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.NIX_UPDATE_TOKEN }}
run: |
git clone --depth 0 ${{ secrets.NIX_UPDATE_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git .
- name: Check for available packages to update
id: check-packages