Skip to content

Commit ace3ab4

Browse files
Merge pull request #47 from TemoaProject/pin_actions
security: pin github actions to commit SHAs across workflows
2 parents 895453b + 9eca5a7 commit ace3ab4

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020

2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.3.0
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

2626
- name: Install uv
27-
uses: astral-sh/setup-uv@v6
27+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.1
2828

2929
- name: Install project and dependencies
3030
run: |
@@ -40,6 +40,6 @@ jobs:
4040
run: uv run pytest tests --cov --cov-branch --cov-report=xml
4141

4242
- name: Upload coverage reports to Codecov
43-
uses: codecov/codecov-action@v5
43+
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.3.1
4444
with:
4545
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/cleanup.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919

2020
- name: Set up Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.3.0
2222
with:
2323
python-version: "3.13"
2424

2525
- name: Install uv
26-
uses: astral-sh/setup-uv@v6
26+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.1
2727

2828
- name: Install project and dependencies
2929
run: |

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
contents: write # Allow pushing commits to the repository
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919
with:
2020
# We need the full commit history to get the commit hash
2121
fetch-depth: 0
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.3.0
2525
with:
2626
python-version: "3.13"
2727

2828
- name: Install uv
29-
uses: astral-sh/setup-uv@v6
29+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.1
3030

3131
- name: Install project and dependencies
3232
run: |

0 commit comments

Comments
 (0)