Skip to content

Commit 631bb11

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent dcb79f6 commit 631bb11

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

‎.github/workflows/check-standard.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
RSPM: ${{ matrix.config.rspm }}
2525

2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0
2828
with:
2929
fetch-depth: 0 # required for mirroring, see https://stackoverflow.com/a/64272409/474349
3030

@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Cache R packages
5656
if: runner.os != 'Windows'
57-
uses: actions/cache@v2
57+
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
5858
with:
5959
path: ${{ env.R_LIBS_USER }}
6060
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
@@ -85,7 +85,7 @@ jobs:
8585

8686
- name: Upload check results
8787
if: failure()
88-
uses: actions/upload-artifact@main
88+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
8989
with:
9090
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
9191
path: check

0 commit comments

Comments
 (0)