Skip to content

Commit dddf48b

Browse files
committed
ci: fix security
1 parent bae64c3 commit dddf48b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,14 @@ jobs:
9191
steps:
9292
- name: Checkout repository
9393
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
94+
with:
95+
persist-credentials: false
9496

9597
- name: Set up uv
9698
uses: astral-sh/setup-uv@eb1897b8dc4b5d5bfe39a428a8f2304605e0983c # 7.0.0
9799
with:
98100
python-version: ${{ env.MAIN_PYTHON_VERSION }}
101+
enable-cache: false
99102

100103
- name: Install project dependencies
101104
run: |
@@ -147,7 +150,7 @@ jobs:
147150
path: ${{ env.PACKAGE_NAME }}-artifacts
148151

149152
- name: Release to the public PyPI
150-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
153+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
151154
with:
152155
repository-url: https://upload.pypi.org/legacy/
153156
print-hash: true

.github/workflows/run_mapdl_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
run: |
5555
uv run pytest \
5656
-vx \
57-
--cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
57+
--cov=${PACKAGE_NAMESPACE} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html

0 commit comments

Comments
 (0)