@@ -22,13 +22,13 @@ jobs:
2222 if : github.event.pull_request.head.repo.full_name == github.repository
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/checkout@v6
26- - uses : actions/setup-node@v6
25+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
2727 with :
2828 node-version-file : " .node-version"
2929 cache : " yarn"
3030 - name : Post building comment
31- uses : actions/github-script@v8
31+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
3232 with :
3333 script : |
3434 const { createDeployingComment } = require('./.github/workflows/github-pr-update.cjs')
@@ -38,25 +38,25 @@ jobs:
3838 - name : Build
3939 run : yarn build-preview
4040 - name : Post error comment
41- uses : actions/github-script@v8
41+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
4242 if : failure()
4343 with :
4444 script : |
4545 const { createFailedComment } = require('./.github/workflows/github-pr-update.cjs')
4646 await createFailedComment({ github, context, core })
47- - uses : actions/upload-artifact@v7
47+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
4848 with :
4949 path : ${{ env.DIST_DIRECTORY }}
5050 deploy :
5151 runs-on : ubuntu-latest
5252 needs : build
5353 steps :
54- - uses : actions/checkout@v6
55- - uses : aws-actions/configure-aws-credentials@v6
54+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
55+ - uses : aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6
5656 with :
5757 role-to-assume : ${{ env.AWS_ROLE_ARN }}
5858 aws-region : ${{ env.AWS_REGION }}
59- - uses : actions/download-artifact@v8
59+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
6060 with :
6161 path : ${{ env.DIST_DIRECTORY }}
6262 - name : Check if bucket exists
@@ -105,14 +105,14 @@ jobs:
105105 }' > bucket-policy.json
106106 aws s3api put-bucket-policy --bucket ${{ env.BUCKET_NAME }} --policy file://bucket-policy.json
107107 - name : Post comment with preview URL
108- uses : actions/github-script@v8
108+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
109109 if : success()
110110 with :
111111 script : |
112112 const { createSuccessComment } = require('./.github/workflows/github-pr-update.cjs')
113113 await createSuccessComment({ github, context, core })
114114 - name : Post error comment
115- uses : actions/github-script@v8
115+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
116116 if : failure()
117117 with :
118118 script : |
0 commit comments