diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index b65661ada5..21a92c50c3 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -38,7 +38,7 @@ jobs: contents: write pull-requests: write steps: - - uses: ansys/actions/doc-deploy-changelog@v6 + - uses: ansys/actions/doc-deploy-changelog@v7 with: token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} @@ -48,7 +48,7 @@ jobs: steps: - name: PyAnsys Vulnerability check (on main) if: github.ref == 'refs/heads/main' - uses: ansys/actions/check-vulnerabilities@v6 + uses: ansys/actions/check-vulnerabilities@v7 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} python-package-name: ${{ env.PACKAGE_NAME }} @@ -56,7 +56,7 @@ jobs: - name: PyAnsys Vulnerability check (on dev mode) if: github.ref != 'refs/heads/main' - uses: ansys/actions/check-vulnerabilities@v6 + uses: ansys/actions/check-vulnerabilities@v7 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} python-package-name: ${{ env.PACKAGE_NAME }} @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check branch name - uses: ansys/actions/branch-name-style@v6 + uses: ansys/actions/branch-name-style@v7 commit-name: if: github.event_name == 'pull_request' @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check commit name - uses: ansys/actions/commit-style@v6 + uses: ansys/actions/commit-style@v7 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys documentation style checks - uses: ansys/actions/doc-style@v6 + uses: ansys/actions/doc-style@v7 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -106,7 +106,7 @@ jobs: os: macos-latest steps: - name: Build wheelhouse and perform smoke test - uses: ansys/actions/build-wheelhouse@v6 + uses: ansys/actions/build-wheelhouse@v7 with: library-name: ${{ env.PACKAGE_NAME }} operating-system: ${{ matrix.os }} @@ -117,7 +117,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys documentation style checks - uses: ansys/actions/docker-style@v6 + uses: ansys/actions/docker-style@v7 with: directory: docker recursive: true @@ -289,7 +289,7 @@ jobs: run: docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_WINDOWS_TAG }} - name: Run Ansys documentation building action - uses: ansys/actions/doc-build@v6 + uses: ansys/actions/doc-build@v7 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} add-pdf-html-docs-as-assets: true @@ -360,7 +360,7 @@ jobs: - name: Run pytest if: env.SKIP_UNSTABLE == 'false' - uses: ansys/actions/tests-pytest@v6 + uses: ansys/actions/tests-pytest@v7 env: ALLOW_PLOTTING: true with: @@ -447,7 +447,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build library source and wheel artifacts - uses: ansys/actions/build-library@v6 + uses: ansys/actions/build-library@v7 with: library-name: ${{ env.PACKAGE_NAME }} python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -658,7 +658,7 @@ jobs: restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }} - name: Run pytest - uses: ansys/actions/tests-pytest@v6 + uses: ansys/actions/tests-pytest@v7 env: ALLOW_PLOTTING: true with: @@ -699,13 +699,13 @@ jobs: contents: write steps: - name: Release to the public PyPI repository - uses: ansys/actions/release-pypi-public@v6 + uses: ansys/actions/release-pypi-public@v7 with: library-name: ${{ env.PACKAGE_NAME }} use-trusted-publisher: true - name: Release to GitHub - uses: ansys/actions/release-github@v6 + uses: ansys/actions/release-github@v7 with: library-name: ${{ env.PACKAGE_NAME }} additional-artifacts: windows-dockerfile.zip linux-dockerfile.zip @@ -717,7 +717,7 @@ jobs: needs: [package] steps: - name: Deploy the latest documentation - uses: ansys/actions/doc-deploy-dev@v6 + uses: ansys/actions/doc-deploy-dev@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -729,7 +729,7 @@ jobs: needs: upload_dev_docs steps: - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v6 + uses: ansys/actions/doc-deploy-index@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev index-name: pyansys-geometry-vdev @@ -744,7 +744,7 @@ jobs: needs: [release] steps: - name: Deploy the stable documentation - uses: ansys/actions/doc-deploy-stable@v6 + uses: ansys/actions/doc-deploy-stable@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -770,7 +770,7 @@ jobs: echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v6 + uses: ansys/actions/doc-deploy-index@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} index-name: pyansys-geometry-v${{ env.VERSION_MEILI }} diff --git a/.github/workflows/docker_cleanup.yml b/.github/workflows/docker_cleanup.yml index 2aef96b5cf..a69b42e087 100644 --- a/.github/workflows/docker_cleanup.yml +++ b/.github/workflows/docker_cleanup.yml @@ -22,7 +22,7 @@ jobs: steps: - name: "Perform versions cleanup - except certain tags" - uses: ansys/actions/hk-package-clean-except@v6 + uses: ansys/actions/hk-package-clean-except@v7 with: package-name: 'geometry' token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index dedf150629..c289ba6385 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -96,6 +96,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: ansys/actions/doc-changelog@v6 + - uses: ansys/actions/doc-changelog@v7 with: token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} diff --git a/.github/workflows/nightly_docker_test.yml b/.github/workflows/nightly_docker_test.yml index 399aa1e59d..afa275309b 100644 --- a/.github/workflows/nightly_docker_test.yml +++ b/.github/workflows/nightly_docker_test.yml @@ -157,7 +157,7 @@ jobs: docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_LINUX_TAG }} - name: Run pytest - uses: ansys/actions/tests-pytest@v6 + uses: ansys/actions/tests-pytest@v7 env: ALLOW_PLOTTING: true with: diff --git a/doc/changelog.d/1352.maintenance.md b/doc/changelog.d/1352.maintenance.md new file mode 100644 index 0000000000..99fc83e4e2 --- /dev/null +++ b/doc/changelog.d/1352.maintenance.md @@ -0,0 +1 @@ +ci: bump ansys/actions from 6 to 7 in the actions group \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index ae12cbb034..071a15be57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -193,3 +193,18 @@ showcontent = true directory = "miscellaneous" name = "Miscellaneous" showcontent = true + +[[tool.towncrier.type]] +directory = "documentation" +name = "Documentation" +showcontent = true + +[[tool.towncrier.type]] +directory = "maintenance" +name = "Maintenance" +showcontent = true + +[[tool.towncrier.type]] +directory = "test" +name = "Test" +showcontent = true