diff --git a/doc/source/vulnerability-actions/examples/check-vulnerabilities-dev-mode.yml b/doc/source/vulnerability-actions/examples/check-vulnerabilities-dev-mode.yml deleted file mode 100644 index bca4675bd..000000000 --- a/doc/source/vulnerability-actions/examples/check-vulnerabilities-dev-mode.yml +++ /dev/null @@ -1,12 +0,0 @@ -check-vulnerabilities: - name: "Check library vulnerabilities (development mode)" - if: github.ref != 'refs/heads/main' - runs-on: ubuntu-latest - steps: - - name: "Check library vulnerabilities with development mode" - uses: ansys/actions/check-vulnerabilities@{{ version }} - with: - python-version: ${{ '{{ env.MAIN_PYTHON_VERSION }}' }} - token: ${{ '{{ secrets.PYANSYS_CI_BOT_TOKEN }}' }} - python-package-name: 'ansys--' - dev-mode: true diff --git a/doc/source/vulnerability-actions/examples/check-vulnerabilities-basic.yml b/doc/source/vulnerability-actions/examples/check-vulnerabilities.yml similarity index 51% rename from doc/source/vulnerability-actions/examples/check-vulnerabilities-basic.yml rename to doc/source/vulnerability-actions/examples/check-vulnerabilities.yml index f44725cfa..1fb074ad3 100644 --- a/doc/source/vulnerability-actions/examples/check-vulnerabilities-basic.yml +++ b/doc/source/vulnerability-actions/examples/check-vulnerabilities.yml @@ -1,11 +1,10 @@ check-vulnerabilities: - name: "Check library vulnerabilities (default mode - only on main)" - if: github.ref == 'refs/heads/main' + name: "Check library vulnerabilities" runs-on: ubuntu-latest steps: - - name: "Check library vulnerabilities with default mode" - uses: ansys/actions/check-vulnerabilities@{{ version }} + - uses: ansys/actions/check-vulnerabilities@{{ version }} with: python-version: ${{ '{{ env.MAIN_PYTHON_VERSION }}' }} token: ${{ '{{ secrets.PYANSYS_CI_BOT_TOKEN }}' }} python-package-name: 'ansys--' + dev-mode: ${{ '{{ github.ref != "refs/heads/main" }}' }}