diff --git a/.github/workflows/cleanup-DEV.yml b/.github/workflows/cleanup-DEV.yml index 3473d190..37311e3d 100644 --- a/.github/workflows/cleanup-DEV.yml +++ b/.github/workflows/cleanup-DEV.yml @@ -35,9 +35,9 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - - uses: actions/checkout@v2 - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* + uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} ###################### # Run Removal script #