Skip to content

Commit 9c959e9

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

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
python-version: "3.10"
2525

26-
- uses: tlambert03/setup-qt-libs@v1
26+
- uses: tlambert03/setup-qt-libs@19e4ef2d781d81f5f067182e228b54ec90d23b76 # v1
2727

2828
- name: Install Dependencies
2929
run: |
@@ -32,7 +32,7 @@ jobs:
3232
sudo apt install graphviz --yes
3333
3434
- name: Build Docs
35-
uses: aganders3/headless-gui@v2
35+
uses: aganders3/headless-gui@f85dd6316993505dfc5f21839d520ae440c84816 # v2
3636
with:
3737
run: make html
3838
working-directory: ./docs
@@ -55,7 +55,7 @@ jobs:
5555
name: docs
5656

5757
- name: Push to GitHub pages
58-
uses: JamesIves/github-pages-deploy-action@v4
58+
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4
5959
with:
6060
folder: html
6161
ssh-key: ${{ secrets.DEPLOY_KEY }}

.github/workflows/test_and_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636

3737
# these libraries enable testing on Qt on linux
38-
- uses: tlambert03/setup-qt-libs@v1
38+
- uses: tlambert03/setup-qt-libs@19e4ef2d781d81f5f067182e228b54ec90d23b76 # v1
3939

4040
# strategy borrowed from vispy for installing opengl libs on windows
4141
- name: Install Windows OpenGL
@@ -62,7 +62,7 @@ jobs:
6262
if: ${{ always() }}
6363

6464
- name: Coverage
65-
uses: codecov/codecov-action@v5
65+
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
6666
# Don't run coverage on merge queue CI to avoid duplicating reports
6767
# to codecov. See https://github.com/matplotlib/napari-matplotlib/issues/155
6868
if: github.event_name != 'merge_group'

0 commit comments

Comments
 (0)