diff --git a/.forgejo/workflows/on_pr.yaml b/.forgejo/workflows/on_pr.yaml index dfe36a7..055c0b9 100644 --- a/.forgejo/workflows/on_pr.yaml +++ b/.forgejo/workflows/on_pr.yaml @@ -15,10 +15,13 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 - - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3 - with: - repository: ${{ gitea.repository }} - ref_name: ${{ gitea.ref }} + - name: Checkout lfs + run: | + git lfs install --local + AUTH=$(git config --local http.${{ github.server_url }}/.extraheader) + git config --local --unset http.${{ github.server_url }}/.extraheader + git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" + git lfs pull - run: nix build .#fmt --verbose # clippy is incredibly useful for making yer code better