Skip to content

Commit 35336a6

Browse files
authored
PYTHON-5353 Pin github actions (#114)
1 parent 9b93aa0 commit 35336a6

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
persist-credentials: false
1818
- uses: actions/setup-python@v3
19-
- uses: pre-commit/[email protected]
19+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
2020
with:
2121
extra_args: --all-files --hook-stage manual
2222
- run: |
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v2
5252
with:
5353
persist-credentials: false
54-
- uses: msys2/setup-msys2@v2
54+
- uses: msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2
5555
with:
5656
msystem: ${{ matrix.msystem }}
5757
update: true

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Initializes the CodeQL tools for scanning.
4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v3
48+
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3
4949
with:
5050
languages: ${{ matrix.language }}
5151
build-mode: ${{ matrix.build-mode }}
@@ -62,6 +62,6 @@ jobs:
6262
pip install -e .
6363
6464
- name: Perform CodeQL Analysis
65-
uses: github/codeql-action/analyze@v3
65+
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3
6666
with:
6767
category: "/language:${{matrix.language}}"

.github/workflows/dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
ref: ${{ inputs.ref }}
3434
persist-credentials: false
3535
- name: Build wheels
36-
uses: pypa/[email protected]
36+
uses: pypa/cibuildwheel@d04cacbc9866d432033b1d09142936e6a0e2121a # v2.23.2
3737
env:
3838
CIBW_BUILD: "cp3*-${{ matrix.buildplat }}"
3939
CIBW_PRERELEASE_PYTHONS: "True"

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ jobs:
8383
name: all-dist-${{ github.run_id }}
8484
path: dist/
8585
- name: Publish package distributions to TestPyPI
86-
uses: pypa/gh-action-pypi-publish@release/v1
86+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
8787
with:
8888
repository-url: https://test.pypi.org/legacy/
8989
skip-existing: true
9090
attestations: ${{ env.DRY_RUN }}
9191
- name: Publish package distributions to PyPI
9292
if: startsWith(env.DRY_RUN, 'false')
93-
uses: pypa/gh-action-pypi-publish@release/v1
93+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
9494

9595
post-publish:
9696
needs: [publish]

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
with:
1919
persist-credentials: false
2020
- name: Setup Rust
21-
uses: actions-rust-lang/setup-rust-toolchain@v1
21+
uses: actions-rust-lang/setup-rust-toolchain@9d7e65c320fdb52dcd45ffaa68deb6c02c8754d9 # v1
2222
- name: Get zizmor
2323
run: cargo install zizmor
2424
- name: Run zizmor
2525
run: zizmor --format sarif . > results.sarif
2626
env:
2727
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
- name: Upload SARIF file
29-
uses: github/codeql-action/upload-sarif@v3
29+
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3
3030
with:
3131
sarif_file: results.sarif
3232
category: zizmor

0 commit comments

Comments
 (0)