@@ -27,18 +27,18 @@ concurrency:
2727
2828permissions :
2929 contents : read
30- packages : read
30+ packages : read # Needs access to the Geometry docker image
3131
3232jobs :
3333 update-changelog :
3434 name : " Update CHANGELOG (on release)"
3535 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
3636 runs-on : ubuntu-latest
3737 permissions :
38- contents : write
39- pull-requests : write
38+ contents : write # Required to create the changelog on the release branch
39+ pull-requests : write # Required to create on main the associated PR with the changelog
4040 steps :
41- - uses : ansys/actions/doc-deploy-changelog@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
41+ - uses : ansys/actions/doc-deploy-changelog@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
4242 with :
4343 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4444 bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
4848 name : Vulnerabilities
4949 runs-on : ubuntu-latest
5050 steps :
51- - uses : ansys/actions/check-vulnerabilities@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
51+ - uses : ansys/actions/check-vulnerabilities@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
5252 with :
5353 python-version : ${{ env.MAIN_PYTHON_VERSION }}
5454 python-package-name : ${{ env.PACKAGE_NAME }}
5959 name : Actions Security
6060 runs-on : ubuntu-latest
6161 steps :
62- - uses : ansys/actions/check-actions-security@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
62+ - uses : ansys/actions/check-actions-security@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
6363 with :
6464 generate-summary : true
6565 token : ${{ secrets.GITHUB_TOKEN }}
7171 runs-on : ubuntu-latest
7272 steps :
7373 - name : Check commit name
74- uses : ansys/actions/check-pr-title@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
74+ uses : ansys/actions/check-pr-title@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
7575 with :
7676 token : ${{ secrets.GITHUB_TOKEN }}
7777
8080 runs-on : ubuntu-latest
8181 steps :
8282 - name : PyAnsys documentation style checks
83- uses : ansys/actions/doc-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
83+ uses : ansys/actions/doc-style@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
8484 with :
8585 token : ${{ secrets.GITHUB_TOKEN }}
8686
9999 os : macos-latest
100100 steps :
101101 - name : Build wheelhouse and perform smoke test
102- uses : ansys/actions/build-wheelhouse@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
102+ uses : ansys/actions/build-wheelhouse@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
103103 with :
104104 library-name : ${{ env.PACKAGE_NAME }}
105105 operating-system : ${{ matrix.os }}
@@ -111,7 +111,7 @@ jobs:
111111 runs-on : ubuntu-latest
112112 steps :
113113 - name : PyAnsys documentation style checks
114- uses : ansys/actions/docker-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
114+ uses : ansys/actions/docker-style@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
115115 with :
116116 directory : docker
117117 recursive : true
@@ -208,7 +208,7 @@ jobs:
208208 Write-Output "SKIP_UNSTABLE=$Result" | Out-File -FilePath $env:GITHUB_ENV -Append
209209 Write-Output "SKIP_UNSTABLE will be: $Result"
210210
211- - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
211+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
212212 if : env.SKIP_UNSTABLE == 'false'
213213 with :
214214 persist-credentials : false
@@ -342,7 +342,7 @@ jobs:
342342 docker run --detach --name ${GEO_CONT_NAME} -e LICENSE_SERVER=${ANSRV_GEO_LICENSE_SERVER} -p ${ANSRV_GEO_PORT}:50051 ${ANSRV_GEO_IMAGE_DOCS_TAG} ${TRANSPORT_MODE_SELECTION}
343343
344344 - name : Run Ansys documentation building action
345- uses : ansys/actions/doc-build@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
345+ uses : ansys/actions/doc-build@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
346346 with :
347347 python-version : ${{ env.MAIN_PYTHON_VERSION }}
348348 add-pdf-html-docs-as-assets : true
@@ -427,7 +427,7 @@ jobs:
427427
428428 - name : Checkout repository
429429 if : env.SKIP_UNSTABLE == 'false'
430- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
430+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
431431 with :
432432 persist-credentials : false
433433
@@ -442,7 +442,7 @@ jobs:
442442
443443 - name : Run pytest
444444 if : env.SKIP_UNSTABLE == 'false'
445- uses : ansys/actions/tests-pytest@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
445+ uses : ansys/actions/tests-pytest@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
446446 env :
447447 ALLOW_PLOTTING : true
448448 with :
@@ -507,7 +507,7 @@ jobs:
507507 password : ${{ secrets.GITHUB_TOKEN }}
508508
509509 - name : Checkout repository
510- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
510+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
511511 with :
512512 persist-credentials : false
513513
@@ -559,7 +559,7 @@ jobs:
559559 password : ${{ secrets.GITHUB_TOKEN }}
560560
561561 - name : Checkout repository
562- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
562+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
563563 with :
564564 persist-credentials : false
565565
@@ -601,12 +601,12 @@ jobs:
601601 needs : [testing-windows, testing-linux, testing-min-reqs, testing-no-graphics, docs]
602602 runs-on : ubuntu-latest
603603 permissions :
604- attestations : write
604+ attestations : write # Required to upload provenance attestations
605605 contents : read
606- id-token : write
606+ id-token : write # Required for OIDC authentication to upload provenance attestations
607607 steps :
608608 - name : Build library source and wheel artifacts
609- uses : ansys/actions/build-library@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
609+ uses : ansys/actions/build-library@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
610610 with :
611611 library-name : ${{ env.PACKAGE_NAME }}
612612 python-version : ${{ env.MAIN_PYTHON_VERSION }}
@@ -628,7 +628,7 @@ jobs:
628628
629629 steps :
630630 - name : Check out repository pyansys-geometry-binaries
631- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
631+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
632632 with :
633633 repository : ' ansys/pyansys-geometry-binaries'
634634 token : ${{ secrets.BINARIES_TOKEN }}
@@ -707,7 +707,7 @@ jobs:
707707 zip-file : " windows-core-binaries.zip"
708708 steps :
709709 - name : Checkout repository
710- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
710+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
711711 with :
712712 persist-credentials : false
713713
@@ -819,7 +819,7 @@ jobs:
819819 needs : [fetch-release-artifacts]
820820 steps :
821821 - name : Checkout repository
822- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
822+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
823823 with :
824824 persist-credentials : false
825825
@@ -863,7 +863,7 @@ jobs:
863863 lookup-only : false # zizmor: ignore[cache-poisoning]
864864
865865 - name : Run pytest
866- uses : ansys/actions/tests-pytest@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
866+ uses : ansys/actions/tests-pytest@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
867867 env :
868868 ALLOW_PLOTTING : true
869869 with :
@@ -901,11 +901,11 @@ jobs:
901901 # Specifying a GitHub environment is optional, but strongly encouraged
902902 environment : release
903903 permissions :
904- id-token : write
905- contents : write
904+ id-token : write # Required for GitHub release
905+ contents : write # Required for GitHub release
906906 steps :
907907 - name : Release to GitHub
908- uses : ansys/actions/release-github@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
908+ uses : ansys/actions/release-github@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
909909 with :
910910 token : ${{ secrets.GITHUB_TOKEN }}
911911 library-name : ${{ env.PACKAGE_NAME }}
@@ -921,8 +921,8 @@ jobs:
921921 # Specifying a GitHub environment is optional, but strongly encouraged
922922 environment : release
923923 permissions :
924- id-token : write
925- contents : write
924+ id-token : write # Required for OIDC authentication with PyPI
925+ contents : write # Required for OIDC authentication with PyPI
926926 steps :
927927 - name : " Download the library artifacts from build-library step"
928928 uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
@@ -944,10 +944,10 @@ jobs:
944944 needs : [package]
945945 runs-on : ubuntu-latest
946946 permissions :
947- contents : write
947+ contents : write # Required to push to the documentation branch (gh-pages)
948948 steps :
949949 - name : Deploy the latest documentation
950- uses : ansys/actions/doc-deploy-dev@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
950+ uses : ansys/actions/doc-deploy-dev@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
951951 with :
952952 cname : ${{ env.DOCUMENTATION_CNAME }}
953953 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -960,10 +960,10 @@ jobs:
960960 needs : [release, release-pypi]
961961 runs-on : ubuntu-latest
962962 permissions :
963- contents : write
963+ contents : write # Required to push to the documentation branch (gh-pages)
964964 steps :
965965 - name : Deploy the stable documentation
966- uses : ansys/actions/doc-deploy-stable@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
966+ uses : ansys/actions/doc-deploy-stable@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
967967 with :
968968 cname : ${{ env.DOCUMENTATION_CNAME }}
969969 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -976,11 +976,11 @@ jobs:
976976 needs : [package]
977977 if : github.event_name == 'pull_request'
978978 permissions :
979- contents : write
980- pull-requests : write
979+ contents : write # Required to allow automerge
980+ pull-requests : write # Required to allow automerge
981981 steps :
982982 - name : Automerge PRs
983- uses : ansys/actions/hk-automerge-prs@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
983+ uses : ansys/actions/hk-automerge-prs@46957117ba42d3d075c6cca0f6bbdc1ac2a9af04 # v10.2.0
984984 with :
985985 approver : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
986986 approver-token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
0 commit comments