@@ -18,12 +18,12 @@ jobs:
1818 needs : test
1919 steps :
2020 - name : Checkout release tag
21- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
21+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
2222 with :
2323 ref : ${{ github.event.workflow_run.head_branch }}
2424
2525 - name : Set up Python
26- uses : actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
26+ uses : actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
2727 with :
2828 python-version : ' 3.x'
2929
3434 run : python3 -m build --sdist --wheel --outdir dist/ .
3535
3636 - name : Store build artifacts
37- uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
37+ uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
3838 # NOTE: The GitHub release page contains the release artifacts too, but using
3939 # GitHub upload/download actions seems robuster: there is no need to compute
4040 # download URLs and tampering with artifacts between jobs is more limited.
@@ -52,14 +52,14 @@ jobs:
5252 release_id : ${{ steps.gh-release.outputs.result }}
5353 steps :
5454 - name : Fetch build artifacts
55- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
55+ uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
5656 with :
5757 name : build-artifacts
5858 path : dist
5959
6060 - id : gh-release
6161 name : Publish GitHub release draft
62- uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
62+ uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
6363 with :
6464 script : |
6565 fs = require('fs')
@@ -92,18 +92,18 @@ jobs:
9292 id-token : write # to authenticate as Trusted Publisher to pypi.org
9393 steps :
9494 - name : Fetch build artifacts
95- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
95+ uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
9696 with :
9797 name : build-artifacts
9898 path : dist
9999
100100 - name : Publish binary wheel and source tarball on PyPI
101101 # Only attempt pypi upload in upstream repository
102102 if : github.repository == 'theupdateframework/python-tuf'
103- uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e
103+ uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
104104
105105 - name : Finalize GitHub release
106- uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
106+ uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
107107 with :
108108 script : |
109109 github.rest.repos.updateRelease({
0 commit comments