diff --git a/.github/workflows/r-cmd-check.yml b/.github/workflows/r-cmd-check.yml index d86e5cda..407edcb4 100644 --- a/.github/workflows/r-cmd-check.yml +++ b/.github/workflows/r-cmd-check.yml @@ -73,6 +73,8 @@ jobs: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} + set-safe-directory: "." + fetch-depth: 0 - name: Restore cache uses: actions/cache@v4