Skip to content

Commit 039d69a

Browse files
committed
CI: pin actions by SHA
This eliminates the possibility of a tag being changed under us.
1 parent dd9d151 commit 039d69a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-python@v2
11-
- uses: pre-commit/[email protected]
11+
- uses: pre-commit/action@0764670bf370aab253130d534e1eda7ff497dc60 # v2.0.0
1212
build:
1313
runs-on: ubuntu-20.04
1414
steps:
@@ -64,7 +64,7 @@ jobs:
6464
./docs/_build/html/
6565
- name: Publish cheatsheets and handouts
6666
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
67-
uses: peaceiris/actions-gh-pages@v3
67+
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
6868
with:
6969
github_token: ${{ secrets.GITHUB_TOKEN }}
7070
publish_dir: ./docs/_build/html/

0 commit comments

Comments
 (0)