Skip to content

Commit

Permalink
actions: use proper git clone
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <[email protected]>
  • Loading branch information
lucasew committed Dec 4, 2024
1 parent c05ce6a commit 85a1783
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/nixpkgs-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ jobs:
- name: Free up space
uses: lucasew/action-i-only-care-about-nix@main
if: ${{ github.event.inputs.free-space }}
- name: Get nixpkgs
uses: actions/checkout@v2
with:
repository: NixOS/nixpkgs
ref: master
path: ./nixpkgs
- name: Prepare for Nix if cleaned up
if: ${{ github.event.inputs.free-space }}
run: |
Expand All @@ -60,6 +54,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
{ while true; do df -h; uptime; sleep 60; done } &
git clone https://github.com/NixOS/nixpkgs nixpkgs
cd nixpkgs
nix run nixpkgs#nixpkgs-review -- pr ${{ github.event.inputs.pr }} --post-result --no-shell
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 85a1783

Please sign in to comment.