1818 outputs :
1919 release_tag : ${{ steps.set_release_tag.outputs.release_tag }}
2020 steps :
21- - uses : actions/checkout@v4
21+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2222 with :
2323 fetch-depth : 0 # Fetch all history for checking branch
2424 - name : Set release tag
@@ -43,25 +43,25 @@ jobs:
4343 RELEASE_TAG : ${{ needs.validate.outputs.release_tag }}
4444
4545 steps :
46- - uses : actions/checkout@v4
46+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
4747 with :
4848 fetch-depth : 0 # Fetch all history for changelog generation
4949 - name : Set up mise
50- uses : jdx/mise-action@v3
50+ uses : jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
5151 with :
5252 cache : true
5353 experimental : true
5454 - name : Build and verify
5555 run : |
5656 mise exec -- make -C py install-dev verify-build
5757 - name : Upload build artifacts
58- uses : actions/upload-artifact@v4
58+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5959 with :
6060 name : python-sdk-dist
6161 path : py/dist/
6262 retention-days : 5
6363 - name : Publish to PyPI
64- uses : pypa/gh-action-pypi-publish@release/v1
64+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
6565 with :
6666 packages-dir : py/dist/
6767
7777 echo "release_name=Python SDK v${VERSION}" >> $GITHUB_OUTPUT
7878
7979 - name : Create GitHub Release
80- uses : actions/github-script@v7
80+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
8181 env :
8282 RELEASE_NOTES : ${{ steps.release_notes.outputs.notes }}
8383 RELEASE_NAME : ${{ steps.release_notes.outputs.release_name }}
@@ -106,7 +106,7 @@ jobs:
106106 VERSION="${TAG#py-sdk-v}"
107107 echo "version=$VERSION" >> $GITHUB_OUTPUT
108108 - name : Post to Slack on success
109- uses : slackapi/slack-github-action@v2.1.1
109+ uses : slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
110110 with :
111111 method : chat.postMessage
112112 token : ${{ secrets.SLACK_BOT_TOKEN }}
@@ -130,7 +130,7 @@ jobs:
130130 timeout-minutes : 5
131131 steps :
132132 - name : Post to Slack on failure
133- uses : slackapi/slack-github-action@v2.1.1
133+ uses : slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
134134 with :
135135 method : chat.postMessage
136136 token : ${{ secrets.SLACK_BOT_TOKEN }}
0 commit comments