Skip to content

Commit 0d2e4ce

Browse files
fix: update actions with vulnerability check (#861)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 4d43919 commit 0d2e4ce

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci_cd_pr.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,17 @@ jobs:
8484
with:
8585
python-version: ${{ env.MAIN_PYTHON_VERSION }}
8686

87+
vulnerabilities:
88+
name: Vulnerabilities
89+
runs-on: ubuntu-latest
90+
steps:
91+
- uses: ansys/actions/check-vulnerabilities@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
92+
with:
93+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
94+
python-package-name: ${{ env.PACKAGE_NAME }}
95+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
96+
dev-mode: ${{ github.ref != 'refs/heads/main' }}
97+
8798
codegen-testing:
8899
name: Build and Testing for codegen
89100
runs-on: ubuntu-latest

doc/changelog/861.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update actions with vulnerability check

0 commit comments

Comments
 (0)