Skip to content

Commit

Permalink
Ref actions by commit SHA in ci.yml
Browse files Browse the repository at this point in the history
It's important to make sure the SHA's are from the original repositories and not forks.

For reference:

https://github.com/actions/checkout/releases/tag/v4.0.0
actions/checkout@3df4ab1

https://github.com/actions/cache/releases/tag/v3.3.2
actions/cache@704facf

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
  • Loading branch information
gabibguti authored and marijnh committed Sep 21, 2023
1 parent 53faa33 commit 3bb9e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -5,9 +5,9 @@ jobs:
runs-on: ubuntu-latest
name: Build and test
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- uses: actions/cache@v2
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
with:
path: '/home/runner/work/codemirror/codemirror5/node_modules'
key: ${{ runner.os }}-modules
Expand Down

0 comments on commit 3bb9e7a

Please sign in to comment.