Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3cf17c0

Browse files
Exclude .git directory and also do not persist Git credentials (#2372)
1 parent 963b914 commit 3cf17c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎.github/workflows/R-CMD-check.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747

4848
steps:
4949
- uses: actions/checkout@v2
50+
with:
51+
persist-credentials: false
5052

5153
- uses: r-lib/actions/setup-r@v2
5254
id: install-r
@@ -81,7 +83,9 @@ jobs:
8183
uses: actions/upload-artifact@master
8284
with:
8385
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
84-
path: ./
86+
path: |
87+
./
88+
!./.git/
8589
8690
- name: Check package
8791
uses: r-lib/actions/check-r-package@v2

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /