Skip to content

Commit fbdd28b

Browse files
authored
fix: 👷 forgot to checkout before building and publishing (#106)
# Description Need to checkout before building and publishing. Also added a harden security step. No review needed.
1 parent fed3380 commit fbdd28b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release-package.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
- release
3434
if: ${{ needs.release.outputs.previous_version != needs.release.outputs.current_version }}
3535
steps:
36+
- name: Harden the runner (Audit all outbound calls)
37+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
38+
with:
39+
egress-policy: audit
40+
41+
- name: Checkout
42+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
3644
# This workflow and the publish workflows are based on:
3745
# - https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
3846
# - https://www.andrlik.org/dispatches/til-use-uv-for-build-and-publish-github-actions/

0 commit comments

Comments
 (0)