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 }}
6767 steps :
6868 - name : Notify Slack - Approved
6969 if : needs.notify-approval-needed.outputs.slack_ts != ''
70- uses : posthog/.github/.github/actions/slack-thread-reply@main
70+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
7171 with :
7272 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
7373 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
@@ -77,13 +77,13 @@ jobs:
7777
7878 - name : Get GitHub App token
7979 id : releaser
80- uses : actions/create-github-app-token@v3
80+ uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
8181 with :
8282 client-id : ${{ secrets.GH_APP_POSTHOG_RUBY_RELEASER_APP_ID }}
8383 private-key : ${{ secrets.GH_APP_POSTHOG_RUBY_RELEASER_PRIVATE_KEY }}
8484
8585 - name : Checkout repository
86- uses : actions/checkout@v6
86+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8787 with :
8888 ref : main
8989 fetch-depth : 0
@@ -100,7 +100,7 @@ jobs:
100100 version : 10.33.0
101101
102102 - name : Set up Node.js
103- uses : actions/setup-node@v6
103+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
104104 with :
105105 node-version : 24
106106 cache : pnpm
@@ -141,7 +141,7 @@ jobs:
141141
142142 - name : Notify Slack - Failed
143143 if : ${{ failure() && needs.notify-approval-needed.outputs.slack_ts != '' }}
144- uses : posthog/.github/.github/actions/slack-thread-reply@main
144+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
145145 with :
146146 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
147147 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
@@ -180,7 +180,7 @@ jobs:
180180
181181 - name : Notify Slack - Rejected
182182 if : steps.check-rejection.outputs.was_rejected == 'true'
183- uses : posthog/.github/.github/actions/slack-thread-reply@main
183+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
184184 with :
185185 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
186186 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
@@ -198,7 +198,7 @@ jobs:
198198 id-token : write
199199 steps :
200200 - name : Checkout repository
201- uses : actions/checkout@v6
201+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
202202 with :
203203 ref : main
204204 fetch-depth : 0
@@ -256,7 +256,7 @@ jobs:
256256
257257 - name : Send failure event to PostHog
258258 if : ${{ failure() }}
259- uses : PostHog/posthog-github-action@v1
259+ uses : PostHog/posthog-github-action@58dea254b598fb5d469c0699c98af8288a7f7650 # v1.2.0
260260 with :
261261 posthog-token : " ${{ secrets.POSTHOG_PROJECT_API_KEY }}"
262262 event : " posthog-ruby-github-release-workflow-failure"
@@ -270,7 +270,7 @@ jobs:
270270
271271 - name : Notify Slack - Failed
272272 if : ${{ failure() && needs.notify-approval-needed.outputs.slack_ts != '' }}
273- uses : posthog/.github/.github/actions/slack-thread-reply@main
273+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
274274 with :
275275 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
276276 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
@@ -285,7 +285,7 @@ jobs:
285285 if : always() && needs.publish.result == 'success' && needs.notify-approval-needed.outputs.slack_ts != ''
286286 steps :
287287 - name : Notify Slack - Released
288- uses : posthog/.github/.github/actions/slack-thread-reply@main
288+ uses : posthog/.github/.github/actions/slack-thread-reply@d2e7c952fef6a22b2210bcffc70bec71abeeba03
289289 with :
290290 slack_bot_token : ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }}
291291 slack_channel_id : ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }}
0 commit comments