Skip to content

Commit

Permalink
Pin GitHub actions to commit SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi authored Jan 20, 2024
1 parent 83654f4 commit 28839a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18

- name: Check cache
uses: actions/cache@v3
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
id: npm-cache
with:
path: '**/node_modules'
Expand All @@ -41,7 +41,7 @@ jobs:
run: npm run start

- name: Checkout gh-pages branch
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
ref: gh-pages
path: gh-pages
Expand Down

0 comments on commit 28839a8

Please sign in to comment.