@@ -25,8 +25,12 @@ concurrency:
2525 group : ${{ github.workflow }}-${{ github.ref }}
2626 cancel-in-progress : true
2727
28- jobs :
28+ permissions :
29+ contents : write
30+ pull-requests : write
31+ packages : read
2932
33+ jobs :
3034 update-changelog :
3135 name : " Update CHANGELOG (on release)"
3236 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
3539 contents : write
3640 pull-requests : write
3741 steps :
38- - uses : ansys/actions/doc-deploy-changelog@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
42+ - uses : ansys/actions/doc-deploy-changelog@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
3943 with :
4044 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4145 bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
4549 name : Vulnerabilities
4650 runs-on : ubuntu-latest
4751 steps :
48- - uses : ansys/actions/check-vulnerabilities@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
52+ - uses : ansys/actions/check-vulnerabilities@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
4953 with :
5054 python-version : ${{ env.MAIN_PYTHON_VERSION }}
5155 python-package-name : ${{ env.PACKAGE_NAME }}
5862 runs-on : ubuntu-latest
5963 steps :
6064 - name : Check commit name
61- uses : ansys/actions/check-pr-title@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
65+ uses : ansys/actions/check-pr-title@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
6266 with :
6367 token : ${{ secrets.GITHUB_TOKEN }}
6468
6771 runs-on : ubuntu-latest
6872 steps :
6973 - name : PyAnsys documentation style checks
70- uses : ansys/actions/doc-style@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
74+ uses : ansys/actions/doc-style@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
7175 with :
7276 token : ${{ secrets.GITHUB_TOKEN }}
7377
8690 os : macos-latest
8791 steps :
8892 - name : Build wheelhouse and perform smoke test
89- uses : ansys/actions/build-wheelhouse@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
93+ uses : ansys/actions/build-wheelhouse@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
9094 with :
9195 library-name : ${{ env.PACKAGE_NAME }}
9296 operating-system : ${{ matrix.os }}
98102 runs-on : ubuntu-latest
99103 steps :
100104 - name : PyAnsys documentation style checks
101- uses : ansys/actions/docker-style@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
105+ uses : ansys/actions/docker-style@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
102106 with :
103107 directory : docker
104108 recursive : true
@@ -181,7 +185,7 @@ jobs:
181185 exit 1
182186 }
183187
184- $A = $env: SKIP_UNSTABLE_CONTAINERS_TEMPORARILY -eq 1
188+ $A = ${{ vars. SKIP_UNSTABLE_CONTAINERS_TEMPORARILY }} -eq 1
185189 $B = $ImagesAreEqual -eq 1
186190
187191 # Calculate the logical expression
@@ -202,7 +206,7 @@ jobs:
202206
203207 - name : Set up headless display
204208 if : env.SKIP_UNSTABLE == 'false'
205- uses : pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
209+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
206210
207211 - name : Create Python venv
208212 if : env.SKIP_UNSTABLE == 'false'
@@ -322,7 +326,7 @@ jobs:
322326 runs-on : ubuntu-latest
323327 steps :
324328 - name : Set up headless display
325- uses : pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
329+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
326330
327331 - name : Login to GitHub Container Registry
328332 uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -337,7 +341,7 @@ jobs:
337341 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_DOCS_TAG }}
338342
339343 - name : Run Ansys documentation building action
340- uses : ansys/actions/doc-build@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
344+ uses : ansys/actions/doc-build@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
341345 with :
342346 python-version : ${{ env.MAIN_PYTHON_VERSION }}
343347 add-pdf-html-docs-as-assets : true
@@ -386,7 +390,7 @@ jobs:
386390 exit 1
387391 fi
388392
389- A=$([[ "$SKIP_UNSTABLE_CONTAINERS_TEMPORARILY" == "1" ]] && echo true || echo false)
393+ A=$([[ "${{ vars. SKIP_UNSTABLE_CONTAINERS_TEMPORARILY }} " == "1" ]] && echo true || echo false)
390394 B=$([[ "$ImagesAreEqual" == "1" ]] && echo true || echo false)
391395
392396 # Calculate the logical expression
@@ -398,7 +402,7 @@ jobs:
398402
399403 - name : Set up headless display
400404 if : env.SKIP_UNSTABLE == 'false'
401- uses : pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
405+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
402406
403407 - name : Login in Github Container registry
404408 if : env.SKIP_UNSTABLE == 'false'
@@ -428,7 +432,7 @@ jobs:
428432
429433 - name : Run pytest
430434 if : env.SKIP_UNSTABLE == 'false'
431- uses : ansys/actions/tests-pytest@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
435+ uses : ansys/actions/tests-pytest@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
432436 env :
433437 ALLOW_PLOTTING : true
434438 with :
@@ -474,7 +478,7 @@ jobs:
474478 python-version : ['3.10', '3.11', '3.12', '3.13']
475479 steps :
476480 - name : Set up headless display
477- uses : pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
481+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
478482
479483 - name : Login in Github Container registry
480484 uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -576,7 +580,7 @@ jobs:
576580 id-token : write
577581 steps :
578582 - name : Build library source and wheel artifacts
579- uses : ansys/actions/build-library@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
583+ uses : ansys/actions/build-library@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
580584 with :
581585 library-name : ${{ env.PACKAGE_NAME }}
582586 python-version : ${{ env.MAIN_PYTHON_VERSION }}
@@ -674,7 +678,7 @@ jobs:
674678 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
675679
676680 - name : Set up headless display
677- uses : pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
681+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
678682
679683 - name : Set up Python
680684 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
@@ -775,7 +779,7 @@ jobs:
775779 python-version : ${{ env.MAIN_PYTHON_VERSION }}
776780
777781 - name : Set up headless display
778- uses : pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
782+ uses : pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
779783
780784 - name : Download Linux binaries
781785 uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
@@ -806,7 +810,7 @@ jobs:
806810 restore-keys : pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
807811
808812 - name : Run pytest
809- uses : ansys/actions/tests-pytest@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
813+ uses : ansys/actions/tests-pytest@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
810814 env :
811815 ALLOW_PLOTTING : true
812816 with :
@@ -847,7 +851,7 @@ jobs:
847851 contents : write
848852 steps :
849853 - name : Release to GitHub
850- uses : ansys/actions/release-github@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
854+ uses : ansys/actions/release-github@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
851855 with :
852856 token : ${{ secrets.GITHUB_TOKEN }}
853857 library-name : ${{ env.PACKAGE_NAME }}
@@ -887,7 +891,7 @@ jobs:
887891 needs : [package]
888892 steps :
889893 - name : Deploy the latest documentation
890- uses : ansys/actions/doc-deploy-dev@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
894+ uses : ansys/actions/doc-deploy-dev@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
891895 with :
892896 cname : ${{ env.DOCUMENTATION_CNAME }}
893897 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -901,7 +905,7 @@ jobs:
901905 needs : [release, release-pypi]
902906 steps :
903907 - name : Deploy the stable documentation
904- uses : ansys/actions/doc-deploy-stable@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
908+ uses : ansys/actions/doc-deploy-stable@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
905909 with :
906910 cname : ${{ env.DOCUMENTATION_CNAME }}
907911 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -918,7 +922,7 @@ jobs:
918922 pull-requests : write
919923 steps :
920924 - name : Automerge PRs
921- uses : ansys/actions/hk-automerge-prs@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9 .0.9
925+ uses : ansys/actions/hk-automerge-prs@dce0e98a78079681554a90abde4ec81a7fa8e06a # v10 .0.10
922926 with :
923927 approver : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
924928 approver-token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
0 commit comments