51
51
pull-requests : write
52
52
steps :
53
53
- name : checkout
54
- uses : actions/checkout@v4
54
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
55
55
with :
56
56
fetch-depth : 2
57
57
69
69
if : ${{ inputs.build }}
70
70
run : pnpm turbo check:build
71
71
72
- - uses : vimtor/action-zip@v1
72
+ - uses : vimtor/action-zip@5f1c4aa587ea41db1110df6a99981dbe19cee310 # v1
73
73
name : archive javascript artifacts
74
74
if : ${{ inputs.uploadJavaScriptArtifacts }}
75
75
with :
81
81
82
82
- name : upload artifact
83
83
if : ${{ inputs.uploadJavaScriptArtifacts }}
84
- uses :
randomairborne/[email protected]
84
+ uses : randomairborne/r2-release@9cbc35a2039ee2ef453a6988cd2a85bb2d7ba8af # v1.0.2
85
85
with :
86
86
endpoint : https://6d5bc18cd8d13babe7ed321adba3d8ae.r2.cloudflarestorage.com
87
87
accesskeyid : ${{ secrets.R2_ACCESS_KEY_ID }}
91
91
destination : ${{ inputs.imageTag }}.zip
92
92
93
93
- name : upload app persisted documents artifact
94
- uses :
randomairborne/[email protected]
94
+ uses : randomairborne/r2-release@9cbc35a2039ee2ef453a6988cd2a85bb2d7ba8af # v1.0.2
95
95
with :
96
96
endpoint : https://6d5bc18cd8d13babe7ed321adba3d8ae.r2.cloudflarestorage.com
97
97
accesskeyid : ${{ secrets.R2_ACCESS_KEY_ID }}
@@ -101,7 +101,7 @@ jobs:
101
101
destination : ${{ inputs.imageTag }}.app.documents.json
102
102
103
103
- name : upload graphql schema
104
- uses :
randomairborne/[email protected]
104
+ uses : randomairborne/r2-release@9cbc35a2039ee2ef453a6988cd2a85bb2d7ba8af # v1.0.2
105
105
with :
106
106
endpoint : https://6d5bc18cd8d13babe7ed321adba3d8ae.r2.cloudflarestorage.com
107
107
accesskeyid : ${{ secrets.R2_ACCESS_KEY_ID }}
@@ -112,17 +112,17 @@ jobs:
112
112
113
113
- name : configure docker buildx
114
114
if : ${{ inputs.dockerize }}
115
-
115
+ uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
116
116
117
117
- name : login to docker registry
118
118
if : ${{ inputs.dockerize }}
119
- uses : docker/login-action@v3
119
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
120
120
with :
121
121
registry : ${{ inputs.registry }}
122
122
username : ${{ github.actor }}
123
123
password : ${{ secrets.GITHUB_TOKEN }}
124
124
125
-
125
+ - uses : frabert/replace-string-action@b6828c5a4cb6371753ff873b0d1c4c4fbd9a63cb # v2.5
126
126
id : branch_name_fix
127
127
name : sanitize branch name
128
128
if : ${{ inputs.dockerize }}
@@ -132,7 +132,7 @@ jobs:
132
132
string : ${{ github.head_ref || github.ref_name }}
133
133
replace-with : ' _'
134
134
135
-
135
+ - uses : frabert/replace-string-action@b6828c5a4cb6371753ff873b0d1c4c4fbd9a63cb # v2.5
136
136
id : docker_cache_key
137
137
name : build cache key
138
138
if : ${{ inputs.dockerize }}
@@ -146,7 +146,7 @@ jobs:
146
146
timeout-minutes : 60
147
147
id : docker-bake
148
148
if : ${{ inputs.dockerize }}
149
-
149
+ uses : docker/bake-action@5ca506d06f70338a4968df87fd8bfee5cbfb84c7 # v6.0.0
150
150
env :
151
151
DOCKER_REGISTRY : ${{ inputs.registry }}/${{ inputs.imageName }}/
152
152
COMMIT_SHA : ${{ inputs.imageTag }}
@@ -169,7 +169,7 @@ jobs:
169
169
*.cache-to=type=gha,mode=max,ignore-error=true,scope=${{ steps.docker_cache_key.outputs.replaced }}
170
170
171
171
- name : docker details pr comment
172
- uses : marocchino/sticky-pull-request-comment@v2
172
+ uses : marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
173
173
if :
174
174
${{ inputs.dockerize && github.event_name == 'pull_request' && inputs.publishPrComment }}
175
175
with :
@@ -208,16 +208,16 @@ jobs:
208
208
name : publish multiarch manifest
209
209
steps :
210
210
- name : checkout
211
- uses : actions/checkout@v4
211
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
212
212
with :
213
213
fetch-depth : 2
214
214
215
215
- name : configure docker buildx
216
-
216
+ uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
217
217
218
218
- name : login to docker registry
219
219
if : ${{ inputs.dockerize }}
220
- uses : docker/login-action@v3
220
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
221
221
with :
222
222
registry : ${{ inputs.registry }}
223
223
username : ${{ github.actor }}
0 commit comments