From dac0280419ff3e366e0a574845006b86b5c574fb Mon Sep 17 00:00:00 2001 From: Sophie Date: Thu, 18 Apr 2024 11:38:50 -0700 Subject: [PATCH] fetch depth 0 --- .github/workflows/patch-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/patch-pr.yml b/.github/workflows/patch-pr.yml index 02df6042..195e1b62 100644 --- a/.github/workflows/patch-pr.yml +++ b/.github/workflows/patch-pr.yml @@ -19,6 +19,9 @@ jobs: contents: write steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + fetch-depth: 0 - uses: cachix/install-nix-action@v22 with: nix_path: nixpkgs=channel:nixos-unstable