Skip to content

Commit

Permalink
Exclude .git directory and also do not persist Git credentials (#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-sol authored Jul 25, 2024
1 parent 963b914 commit 3cf17c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false

- uses: r-lib/actions/setup-r@v2
id: install-r
Expand Down Expand Up @@ -81,7 +83,9 @@ jobs:
uses: actions/upload-artifact@master
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: ./
path: |
./
!./.git/
- name: Check package
uses: r-lib/actions/check-r-package@v2
Expand Down

0 comments on commit 3cf17c0

Please sign in to comment.