Skip to content

Commit 0ce5138

Browse files
committed
CI: pin actions by SHA
This eliminates the possibility of a tag being changed under us.
1 parent 359739f commit 0ce5138

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/.github/workflows/lighthouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
make html
2323
2424
- name: Run Lighthouse against example docs build
25-
uses: treosh/lighthouse-ci-action@v2
25+
uses: treosh/lighthouse-ci-action@005e1277a8a17ea0b0ef6c3332d59a7cd0f730ce # v2
2626
with:
2727
configPath: "./lighthouserc.json"
2828
temporaryPublicStorage: true

.github/.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-python@v2
16-
- uses: pre-commit/[email protected]
16+
- uses: pre-commit/action@0764670bf370aab253130d534e1eda7ff497dc60 # v2.0.0

0 commit comments

Comments
 (0)