File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 3737 env :
3838 GITHUB_CONTEXT : ${{ toJson(github) }}
3939
40+ vulnerabilities :
41+ name : Vulnerabilities
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : PyAnsys Vulnerability check (on main)
45+ if : github.ref == 'refs/heads/main'
46+ uses : ansys/actions/check-vulnerabilities@v10
47+ with :
48+ python-version : ${{ env.MAIN_PYTHON_VERSION }}
49+ python-package-name : " ansys-dpf-core"
50+ token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
51+
52+ - name : PyAnsys Vulnerability check (on dev mode)
53+ if : github.ref != 'refs/heads/main'
54+ uses : ansys/actions/check-vulnerabilities@v10
55+ with :
56+ python-version : ${{ env.MAIN_PYTHON_VERSION }}
57+ python-package-name : " ansys-dpf-core"
58+ token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
59+ dev-mode : true
60+
4061 pick_server_suffix :
4162 runs-on : ubuntu-latest
4263 outputs :
@@ -241,4 +262,4 @@ jobs:
241262 run : |
242263 git checkout master
243264 git reset --hard main
244- git push
265+ git push
You can’t perform that action at this time.
0 commit comments