Skip to content

Commit ca0790d

Browse files
authored
PYTHON-5353 Pin github actions (#1001)
1 parent 3c6a9ff commit ca0790d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/codeql-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737

3838
# Initializes the CodeQL tools for scanning.
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v3
40+
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3
4141
with:
4242
languages: actions
4343
build-mode: none
4444
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
4545
queries: security-extended
4646

4747
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v3
48+
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3
4949
with:
5050
category: "/language:actions"

.github/workflows/codeql-python.yml

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

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3
4646
with:
4747
languages: python
4848
build-mode: none
@@ -61,6 +61,6 @@ jobs:
6161
pip install dist/*.whl
6262
6363
- name: Perform CodeQL Analysis
64-
uses: github/codeql-action/analyze@v3
64+
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3
6565
with:
6666
category: "/language:python"

.github/workflows/release-python.yml

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

9999
post-publish:
100100
needs: [publish]

.github/workflows/zizmor.yml

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

0 commit comments

Comments
 (0)