Skip to content

Commit 3f843bc

Browse files
authored
chore: update github actions and use commit hashes instead of versions (#801)
1 parent c1d0a7e commit 3f843bc

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/downstream.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ jobs:
1818
run:
1919
shell: bash
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
2323
persist-credentials: false
2424
path: poetry-core
2525

26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
persist-credentials: false
2929
path: poetry
3030
repository: python-poetry/poetry
3131
ref: ${{ matrix.ref }}
3232

3333
- name: Set up Python 3.10
34-
uses: actions/setup-python@v5
34+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3535
with:
3636
python-version: "3.10"
3737

@@ -45,7 +45,7 @@ jobs:
4545
poetry config virtualenvs.in-project true
4646
4747
- name: Set up cache
48-
uses: actions/cache@v4
48+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4949
id: cache
5050
with:
5151
path: ./poetry/.venv

.github/workflows/release.yaml

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

1616
- run: pipx run build
1717

18-
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
18+
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
1919
with:
2020
name: distfiles
2121
path: dist/
@@ -58,6 +58,6 @@ jobs:
5858
name: distfiles
5959
path: dist/
6060

61-
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
61+
- uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
6262
with:
6363
print-hash: true

.github/workflows/tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
run:
3232
shell: bash
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3535
with:
3636
persist-credentials: false
3737

3838
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v5
39+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
allow-prereleases: true
@@ -61,7 +61,7 @@ jobs:
6161
run: poetry config virtualenvs.in-project true
6262

6363
- name: Set up cache
64-
uses: actions/cache@v4
64+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
6565
id: cache
6666
with:
6767
path: .venv

.github/workflows/update-licenses.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
with:
1515
persist-credentials: false
1616

1717
- name: Set up Python 3.10
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1919
with:
2020
python-version: "3.10"
2121

0 commit comments

Comments
 (0)