From cd6b1b6421227ff6cce64e04b7fd7f4cb7895a57 Mon Sep 17 00:00:00 2001 From: Mohamad Fikri Date: Mon, 2 Dec 2024 05:45:50 +0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e973a5..3672c25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,14 @@ jobs: if: "${{ github.event_name == 'schedule' }}" runs-on: [ ubuntu-latest ] steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Check if PR exists id: check env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - [ ! -d .git ] && gh repo clone "$GITHUB_REPOSITORY" my_repo && cd my_repo prs=$(gh pr list \ --repo "$GITHUB_REPOSITORY" \ --head 'nixos-unstable' \