2424 has-changesets : ${{ steps.check.outputs.has-changesets }}
2525 steps :
2626 - name : Checkout repository
27- uses : actions/checkout@v6
27+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828 with :
2929 ref : main
3030 fetch-depth : 0
4545 name : Notify Slack - Approval Needed
4646 needs : check-changesets
4747 if : needs.check-changesets.outputs.has-changesets == 'true'
48- uses : posthog/.github/.github/workflows/notify-approval-needed.yml@main
48+ uses : posthog/.github/.github/workflows/notify-approval-needed.yml@d2e7c952fef6a22b2210bcffc70bec71abeeba03
4949 with :
5050 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
5151 slack_user_group_id : ${{ vars.GROUP_CLIENT_LIBRARIES_SLACK_GROUP_ID }}
6868 steps :
6969 - name : Notify Slack - Approved
7070 if : needs.notify-approval-needed.outputs.slack_ts != ''
71- uses : posthog/.github/.github/actions/slack-thread-reply@main
71+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
7272 with :
7373 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
7474 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
@@ -78,13 +78,13 @@ jobs:
7878
7979 - name : Get GitHub App token
8080 id : releaser
81- uses : actions/create-github-app-token@v3
81+ uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
8282 with :
8383 client-id : ${{ secrets.GH_APP_POSTHOG_ELIXIR_RELEASER_APP_ID }}
8484 private-key : ${{ secrets.GH_APP_POSTHOG_ELIXIR_RELEASER_PRIVATE_KEY }}
8585
8686 - name : Checkout repository
87- uses : actions/checkout@v6
87+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8888 with :
8989 ref : main
9090 fetch-depth : 0
@@ -104,7 +104,7 @@ jobs:
104104
105105 - name : Cache Sampo CLI
106106 id : cache-sampo
107- uses : actions/cache@v5
107+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
108108 with :
109109 path : ~/.cargo/bin/sampo
110110 key : sampo-${{ runner.os }}-${{ runner.arch }}
@@ -184,7 +184,7 @@ jobs:
184184 # Notify in case of a failure
185185 - name : Send failure event to PostHog
186186 if : ${{ failure() }}
187- uses : PostHog/posthog-github-action@v1
187+ uses : PostHog/posthog-github-action@58dea254b598fb5d469c0699c98af8288a7f7650 # v1.2.0
188188 with :
189189 posthog-token : " ${{ secrets.POSTHOG_PROJECT_API_KEY }}"
190190 event : " posthog-elixir-github-release-workflow-failure"
@@ -198,7 +198,7 @@ jobs:
198198
199199 - name : Notify Slack - Failed
200200 if : ${{ failure() && needs.notify-approval-needed.outputs.slack_ts != '' }}
201- uses : posthog/.github/.github/actions/slack-thread-reply@main
201+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
202202 with :
203203 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
204204 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
@@ -213,10 +213,10 @@ jobs:
213213 if : always() && needs.release.result == 'success' && needs.notify-approval-needed.outputs.slack_ts != ''
214214 steps :
215215 - name : Checkout repository
216- uses : actions/checkout@v6
216+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
217217
218218 - name : Notify Slack - Released
219- uses : posthog/.github/.github/actions/slack-thread-reply@main
219+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
220220 with :
221221 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
222222 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
0 commit comments