Skip to content

Commit 988f4aa

Browse files
authored
feat: use full commit SHA hash for dependency (#42)
1 parent 5c95bd1 commit 988f4aa

9 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343

4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v5
46+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v3
50+
uses: github/codeql-action/init@3c3833e0f8c1c83d449a7478aa59c036a9165498 #v3
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,7 +60,7 @@ jobs:
6060
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6161
# If this step fails, then you should remove it and run the build manually (see below)
6262
- name: Autobuild
63-
uses: github/codeql-action/autobuild@v3
63+
uses: github/codeql-action/autobuild@3c3833e0f8c1c83d449a7478aa59c036a9165498 #v3
6464

6565
# ℹ️ Command-line programs to run using the OS shell.
6666
# 📚 https://git.io/JvXDl
@@ -74,6 +74,6 @@ jobs:
7474
# make release
7575

7676
- name: Perform CodeQL Analysis
77-
uses: github/codeql-action/analyze@v3
77+
uses: github/codeql-action/analyze@3c3833e0f8c1c83d449a7478aa59c036a9165498 #v3
7878
with:
7979
category: "/language:${{matrix.language}}"

.github/workflows/mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
mkdocs-deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v5
11-
- uses: astral-sh/setup-uv@v6
10+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
11+
- uses: astral-sh/setup-uv@4959332f0f014c5280e7eac8b70c90cb574c9f9b #v6
1212
- name: Install dependencies
1313
run: uv sync --group docs
1414
- name: Check mkdocs build
1515
if: github.ref != 'refs/heads/main'
1616
run: uv run mkdocs build
1717
- name: Upload docs build as artifact
1818
if: github.ref != 'refs/heads/main'
19-
uses: actions/upload-artifact@v4
19+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4
2020
with:
2121
name: ${{ github.event.repository.name }}_docs
2222
path: ${{ github.workspace }}/site

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
run-pre-commit:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
17-
- uses: actions/setup-python@v5
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
17+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5
1818
id: python-setup
1919
with:
2020
python-version: '3.x'
2121
- name: Run commands
2222
if: inputs.commands
2323
run: ${{ inputs.commands }}
2424
- name: Cache pre-commit environments
25-
uses: actions/cache@v4
25+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 #v4
2626
with:
2727
path: '~/.cache/pre-commit'
2828
key: pre-commit-${{ steps.python-setup.outputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/py-coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v5
11+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
1212

1313
- name: Download all artifacts
14-
uses: actions/download-artifact@v5
14+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 #v5
1515
with:
1616
pattern: coverage-data-*
1717
merge-multiple: true
1818

1919
- name: Setup python
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5
2121
with:
2222
python-version: '3.x'
2323

@@ -28,14 +28,14 @@ jobs:
2828
coverage html
2929
3030
- name: Upload comprehensive coverage HTML report
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4
3232
with:
3333
name: coverage-report
3434
path: htmlcov/
3535

3636
- run: coverage report && coverage xml
3737

38-
- uses: codecov/codecov-action@v5
38+
- uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 #v5
3939
env:
4040
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
4141
with:

.github/workflows/py-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
1717
# use fetch --all for setuptools_scm to work
1818
with:
1919
fetch-depth: 0
2020
- name: Set up Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5
2222
with:
2323
python-version: '3.x'
2424

@@ -32,7 +32,7 @@ jobs:
3232
run: twine check dist/*
3333

3434
- name: Create attestations
35-
uses: actions/attest-build-provenance@v3
35+
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a #v3
3636
with:
3737
subject-path: 'dist/*'
3838

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
# Draft your next Release notes as Pull Requests are merged into the default branch
23-
- uses: release-drafter/release-drafter@v6
23+
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 #v6
2424
with:
2525
commitish: '${{ inputs.commitish }}'
2626
env:

.github/workflows/snyk-container.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
snyk:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v5
10+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
1111
- name: Run Snyk to check Docker image for vulnerabilities
1212
continue-on-error: true
13-
uses: snyk/actions/docker@master
13+
uses: snyk/actions/docker@b98d498629f1c368650224d6d212bf7dfa89e4bf #v0.4.0
1414
env:
1515
# In order to use the Snyk Action you will need to have a Snyk API token.
1616
# More details in https://github.com/snyk/actions#getting-your-snyk-token
@@ -21,6 +21,6 @@ jobs:
2121
args: --severity-threshold=high --file=Dockerfile.all
2222

2323
- name: Upload result to GitHub Code Scanning
24-
uses: github/codeql-action/upload-sarif@v3
24+
uses: github/codeql-action/upload-sarif@3c3833e0f8c1c83d449a7478aa59c036a9165498 #v3
2525
with:
2626
sarif_file: snyk.sarif

.github/workflows/sphinx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
sphinx-deploy:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
17-
- uses: astral-sh/setup-uv@v6
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
17+
- uses: astral-sh/setup-uv@4959332f0f014c5280e7eac8b70c90cb574c9f9b #v6
1818

1919
- name: Install dependencies
2020
run: uv sync --group docs
@@ -23,15 +23,15 @@ jobs:
2323
run: uv run sphinx-build docs ${{ inputs.path-to-doc }}
2424

2525
- name: Upload docs build as artifact
26-
uses: actions/upload-artifact@v4
26+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4
2727
with:
2828
name: ${{ github.event.repository.name }}_docs
2929
path: ${{ github.workspace }}/${{ inputs.path-to-doc }}
3030

3131
- name: Upload to github pages
3232
# only publish doc changes from main branch
3333
if: github.ref == 'refs/heads/main'
34-
uses: peaceiris/actions-gh-pages@v4
34+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e #v4
3535
with:
3636
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
publish_dir: ./${{ inputs.path-to-doc }}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
stale:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/stale@v9
9+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 #v9
1010
with:
1111
stale-issue-message: >-
1212
This issue has been automatically marked as stale because

0 commit comments

Comments
 (0)