From 6293abecf855c38b39150d61af11beafda87bb58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:46:43 +0000 Subject: [PATCH] ci: bump the actions group with 2 updates (#3470) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: bump the actions group with 2 updates Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [ansys/actions](https://github.com/ansys/actions). Updates `actions/checkout` from 4.2.0 to 4.2.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.2.0...v4.2.1) Updates `ansys/actions` from 7 to 8 - [Release notes](https://github.com/ansys/actions/releases) - [Commits](https://github.com/ansys/actions/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: ansys/actions dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] * ci: pre-commit autoupdate (#3471) * ci: pre-commit autoupdate updates: - [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0) - [github.com/adamchainz/blacken-docs: 1.18.0 → 1.19.0](https://github.com/adamchainz/blacken-docs/compare/1.18.0...1.19.0) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) * chore: adding changelog file 3471.maintenance.md * feat: update .pre-commit-config.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: German <28149841+germa89@users.noreply.github.com> * ci: upgrade to v8 * ci: bump the actions group with 2 updates Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [ansys/actions](https://github.com/ansys/actions). Updates `actions/checkout` from 4.2.0 to 4.2.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.2.0...v4.2.1) Updates `ansys/actions` from 7 to 8 - [Release notes](https://github.com/ansys/actions/releases) - [Commits](https://github.com/ansys/actions/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: ansys/actions dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] * ci: upgrade to v8 * Update .github/workflows/label.yml * chore: adding changelog file 3470.maintenance.md [dependabot-skip] * fix: indentation --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: German <28149841+germa89@users.noreply.github.com> --- .github/workflows/cache_cleaner.yml | 2 +- .github/workflows/ci.yml | 96 +++++---------------- .github/workflows/docker_clean_untagged.yml | 2 +- .github/workflows/label.yml | 6 +- .github/workflows/linkchecker.yml | 2 +- doc/changelog.d/3470.maintenance.md | 1 + 6 files changed, 31 insertions(+), 78 deletions(-) create mode 100644 doc/changelog.d/3470.maintenance.md diff --git a/.github/workflows/cache_cleaner.yml b/.github/workflows/cache_cleaner.yml index ed8c958460..4841e32f41 100644 --- a/.github/workflows/cache_cleaner.yml +++ b/.github/workflows/cache_cleaner.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 - name: Cleanup PR caches if: github.event_name != 'workflow_dispatch' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae1ab4d60f..e85457424f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,19 +70,11 @@ jobs: contents: write pull-requests: write steps: - - uses: ansys/actions/doc-deploy-changelog@v7 + - uses: ansys/actions/doc-deploy-changelog@v8 with: token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} - - - branch-name: - # Only if the event is a pull request and the branch name is not from the pre-commit-ci bot - if: github.event_name == 'pull_request' && github.head_ref != 'pre-commit-ci-update-config' - name: Check the name of the branch - runs-on: ubuntu-latest - steps: - - name: Check branch name - uses: ansys/actions/branch-name-style@v7 + bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} + bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} pull-request-name: @@ -91,7 +83,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check pull-request name - uses: ansys/actions/commit-style@v7 + uses: ansys/actions/check-pr-title@v8 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -104,7 +96,7 @@ jobs: folder: ["doc", "examples"] steps: - name: "Ansys documentation style checks" - uses: ansys/actions/doc-style@v7 + uses: ansys/actions/doc-style@v8 with: token: ${{ secrets.GITHUB_TOKEN }} files: ${{ matrix.folder }} @@ -130,7 +122,7 @@ jobs: os: macos-latest steps: - name: "Build wheelhouse and perform smoke test" - uses: ansys/actions/build-wheelhouse@v7 + uses: ansys/actions/build-wheelhouse@v8 with: library-name: ${{ env.PACKAGE_NAME }} operating-system: ${{ matrix.os }} @@ -160,7 +152,7 @@ jobs: GRPC_ENABLE_FORK_SUPPORT: false # See #3434 steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 - name: "Login in Github container registry" uses: docker/login-action@v3.3.0 @@ -357,7 +349,7 @@ jobs: steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 - name: Get event type and user to check permissions. id: get_user @@ -412,7 +404,7 @@ jobs: steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 - name: "Login in Github container registry" uses: docker/login-action@v3.3.0 @@ -596,7 +588,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 - uses: tspascoal/get-user-teams-membership@v3 id: is_organization_member @@ -643,7 +635,7 @@ jobs: steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -774,7 +766,7 @@ jobs: steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -869,7 +861,7 @@ jobs: ON_LOCAL: TRUE steps: - - uses: actions/checkout@v4.2.0 + - uses: actions/checkout@v4.2.1 # Skipping because it is installed locally. # - name: Setup Python @@ -937,7 +929,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Build library source and wheel artifacts" - uses: ansys/actions/build-library@v7 + uses: ansys/actions/build-library@v8 with: library-name: ${{ env.PACKAGE_NAME }} python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -955,13 +947,13 @@ jobs: contents: write steps: - name: "Release to the public PyPI repository" - uses: ansys/actions/release-pypi-public@v7 + uses: ansys/actions/release-pypi-public@v8 with: library-name: ${{ env.PACKAGE_NAME }} use-trusted-publisher: true - name: "Release to GitHub" - uses: ansys/actions/release-github@v7 + uses: ansys/actions/release-github@v8 with: library-name: ${{ env.PACKAGE_NAME }} additional-artifacts: "minimum_requirements.txt" @@ -977,42 +969,13 @@ jobs: needs: [release] steps: - name: "Deploy the stable documentation" - # TODO: testing SEO improvements. This branch avoids creating a - # sitemap.xml pages in opposite to v5. - uses: ansys/actions/doc-deploy-stable@feat/seo-improvements + uses: ansys/actions/doc-deploy-stable@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} render-last: '5' - - - doc-index-stable: - name: "Deploy stable docs index" - runs-on: ubuntu-latest - needs: upload-docs-release - steps: - - name: "Install Git and clone project" - uses: actions/checkout@v4.2.0 - - - name: "Install the package requirements" - run: pip install -e . - - - name: "Get the version to PyMeilisearch" - run: | - VERSION=$(python -c "from ansys.mapdl.core import __version__; print('.'.join(__version__.split('.')[:2]))") - VERSION_MEILI=$(python -c "from ansys.mapdl.core import __version__; print('-'.join(__version__.split('.')[:2]))") - echo "Calculated VERSION: $VERSION" - echo "Calculated VERSION_MEILI: $VERSION_MEILI" - echo "VERSION=$VERSION" >> $GITHUB_ENV - echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - - - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v7 - with: - cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} - index-name: pymapdl-v${{ env.VERSION_MEILI }} - host-url: ${{ vars.MEILISEARCH_HOST_URL }} - api-key: ${{ env.MEILISEARCH_API_KEY }} + bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} + bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} upload-dev-docs: @@ -1022,25 +985,12 @@ jobs: needs: [docs-build] steps: - name: "Deploy the latest documentation" - # TODO: testing SEO improvements. This branch reuses the "index.html" from the stable version - uses: ansys/actions/doc-deploy-dev@feat/seo-improvements + uses: ansys/actions/doc-deploy-dev@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} - - - doc-index-dev: - name: "Deploy dev index docs" - runs-on: ubuntu-latest - needs: upload-dev-docs - steps: - - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v7 - with: - cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev - index-name: pymapdl-vdev - host-url: ${{ vars.MEILISEARCH_HOST_URL }} - api-key: ${{ env.MEILISEARCH_API_KEY }} + bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} + bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} notify: @@ -1068,7 +1018,7 @@ jobs: os: [ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v4.2.0 + - uses: actions/checkout@v4.2.1 - name: "Set up Julia" uses: julia-actions/setup-julia@v2 with: diff --git a/.github/workflows/docker_clean_untagged.yml b/.github/workflows/docker_clean_untagged.yml index d33bf114cc..19d1aa024a 100644 --- a/.github/workflows/docker_clean_untagged.yml +++ b/.github/workflows/docker_clean_untagged.yml @@ -22,7 +22,7 @@ jobs: steps: - name: "Perform versions cleanup - except certain tags" - uses: ansys/actions/hk-package-clean-untagged@v7 + uses: ansys/actions/hk-package-clean-untagged@v8 with: package-name: 'mapdl' token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 45e9c7f6aa..66348b684f 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -21,7 +21,7 @@ jobs: name: Syncer runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.2.0 + - uses: actions/checkout@v4.2.1 - uses: micnncim/action-label-syncer@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -127,6 +127,8 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: ansys/actions/doc-changelog@v7 + - uses: ansys/actions/doc-changelog@v8 with: + bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} + bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/linkchecker.yml b/.github/workflows/linkchecker.yml index b49043b3da..285e0fe889 100644 --- a/.github/workflows/linkchecker.yml +++ b/.github/workflows/linkchecker.yml @@ -31,7 +31,7 @@ jobs: SHELLOPTS: "errexit:pipefail" steps: - name: "Install Git and checkout project" - uses: actions/checkout@v4.2.0 + uses: actions/checkout@v4.2.1 - name: "Login in Github container registry" uses: docker/login-action@v3.3.0 diff --git a/doc/changelog.d/3470.maintenance.md b/doc/changelog.d/3470.maintenance.md new file mode 100644 index 0000000000..031d764761 --- /dev/null +++ b/doc/changelog.d/3470.maintenance.md @@ -0,0 +1 @@ +ci: bump the actions group with 2 updates \ No newline at end of file