Skip to content

Commit 042eff8

Browse files
committed
CI: pin actions by SHA
This eliminates the possibility of a tag being changed under us.
1 parent 08b5a55 commit 042eff8

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
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-python@v5
13-
- uses: pre-commit/[email protected]
13+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
1414
build:
1515
runs-on: ubuntu-20.04
1616
permissions:
@@ -79,7 +79,7 @@ jobs:
7979
>> $GITHUB_STEP_SUMMARY
8080
- name: Publish cheatsheets and handouts
8181
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
82-
uses: peaceiris/actions-gh-pages@v4
82+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
8383
with:
8484
github_token: ${{ secrets.GITHUB_TOKEN }}
8585
publish_dir: ./docs/_build/html/

0 commit comments

Comments
 (0)