Skip to content

Commit 53761f1

Browse files
authored
chore: pin ci with commit hash (#26)
Signed-off-by: Chojan Shang <[email protected]>
1 parent f8df885 commit 53761f1

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/actions/setup-python-env/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ inputs:
1414
runs:
1515
using: "composite"
1616
steps:
17-
- uses: actions/setup-python@v5
17+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
1818
with:
1919
python-version: ${{ inputs.python-version }}
2020

2121
- name: Install uv
22-
uses: astral-sh/setup-uv@v6
22+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e
2323
with:
2424
version: ${{ inputs.uv-version }}
2525
enable-cache: "true"

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Check out
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
1616

17-
- uses: actions/cache@v4
17+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
1818
with:
1919
path: ~/.cache/pre-commit
2020
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -36,7 +36,7 @@ jobs:
3636
shell: bash
3737
steps:
3838
- name: Check out
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
4040

4141
- name: Set up the environment
4242
uses: ./.github/actions/setup-python-env
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: Check out
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
5757

5858
- name: Set up the environment
5959
uses: ./.github/actions/setup-python-env

.github/workflows/on-release-main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
set-version:
99
runs-on: ubuntu-24.04
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
1212

1313
- name: Export tag
1414
id: vars
@@ -23,7 +23,7 @@ jobs:
2323
if: ${{ github.event_name == 'release' }}
2424

2525
- name: Upload updated pyproject.toml
26-
uses: actions/upload-artifact@v4
26+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
2727
with:
2828
name: pyproject-toml
2929
path: pyproject.toml
@@ -33,13 +33,13 @@ jobs:
3333
needs: [set-version]
3434
steps:
3535
- name: Check out
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
3737

3838
- name: Set up the environment
3939
uses: ./.github/actions/setup-python-env
4040

4141
- name: Download updated pyproject.toml
42-
uses: actions/download-artifact@v4
42+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
4343
with:
4444
name: pyproject-toml
4545

@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- name: Check out
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
6060

6161
- name: Set up the environment
6262
uses: ./.github/actions/setup-python-env

0 commit comments

Comments
 (0)