Skip to content

Commit 43ac931

Browse files
committed
ci: Pin third-party actions to a commit hash.
This detects changed action code for the same tag.
1 parent 0c99466 commit 43ac931

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: ubuntu-latest
103103
steps:
104104
- name: Decide whether the needed jobs succeeded or failed
105-
uses: re-actors/alls-green@release/v1
105+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
106106
with:
107107
jobs: ${{ toJSON(needs) }}
108108
- uses: actions/checkout@v4
@@ -124,7 +124,7 @@ jobs:
124124
coverage combine
125125
coverage xml
126126
- name: Upload coverage report
127-
uses: codecov/codecov-action@v5
127+
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
128128
with:
129129
files: coverage.xml
130130
fail_ci_if_error: true
@@ -184,7 +184,7 @@ jobs:
184184
run: |
185185
tree dist
186186
- name: PyPI upload
187-
uses: pypa/[email protected]
187+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
188188
with:
189189
attestations: true
190190
packages-dir: dist
@@ -195,7 +195,7 @@ jobs:
195195
name: release-notes.md
196196
path: release-notes.md
197197
- name: GitHub Release
198-
uses: ncipollo/release-action@v1
198+
uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0
199199
with:
200200
name: pytest-asyncio ${{ needs.lint.outputs.version }}
201201
artifacts: dist/*

0 commit comments

Comments
 (0)