@@ -21,15 +21,15 @@ jobs:
2121 pull-requests : write
2222 steps :
2323 - name : Find existing comment
24- uses : peter-evans/find-comment@v3
24+ uses : peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3
2525 id : find-comment
2626 with :
2727 issue-number : ${{ github.event.pull_request.number }}
2828 comment-author : " github-actions[bot]"
2929 body-includes : " <!-- node-red-seqera-docker-pr-build -->"
3030
3131 - name : Post or update comment (building)
32- uses : peter-evans/create-or-update-comment@v4
32+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
3333 with :
3434 comment-id : ${{ steps.find-comment.outputs.comment-id }}
3535 issue-number : ${{ github.event.pull_request.number }}
@@ -68,18 +68,18 @@ jobs:
6868 pr-tag : pr-${{ github.event.pull_request.number }}
6969 steps :
7070 - name : Check out the repo
71- uses : actions/checkout@v4
71+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
7272
7373 - name : Log in to the Container registry
74- uses : docker/login-action@v3
74+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
7575 with :
7676 registry : ${{ env.REGISTRY }}
7777 username : ${{ github.actor }}
7878 password : ${{ secrets.GITHUB_TOKEN }}
7979
8080 - name : Extract metadata (tags, labels) for Docker
8181 id : meta
82- uses : docker/metadata-action@v5
82+ uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
8383 with :
8484 images : ${{ matrix.image_name }}
8585 tags : |
8888
8989 - name : Build and push Docker image
9090 id : push
91- uses : docker/build-push-action@v6
91+ uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
9292 with :
9393 context : .
9494 file : ${{ matrix.dockerfile }}
@@ -112,7 +112,7 @@ jobs:
112112 EOF
113113
114114 - name : Upload build metadata
115- uses : actions/upload-artifact@v4
115+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
116116 with :
117117 name : ${{ matrix.artifact_name }}
118118 path : metadata/build-info.json
@@ -130,21 +130,21 @@ jobs:
130130 pull-requests : write
131131 steps :
132132 - name : Download standard build metadata
133- uses : actions/download-artifact@v4
133+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
134134 with :
135135 name : build-metadata-standard
136136 path : metadata-standard
137137 continue-on-error : true
138138
139139 - name : Download studios build metadata
140- uses : actions/download-artifact@v4
140+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
141141 with :
142142 name : build-metadata-studios
143143 path : metadata-studios
144144 continue-on-error : true
145145
146146 - name : Find existing comment
147- uses : peter-evans/find-comment@v3
147+ uses : peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3
148148 id : find-comment
149149 with :
150150 issue-number : ${{ github.event.pull_request.number }}
@@ -153,7 +153,7 @@ jobs:
153153
154154 - name : Update comment (success)
155155 if : needs.build.result == 'success'
156- uses : peter-evans/create-or-update-comment@v4
156+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
157157 with :
158158 comment-id : ${{ steps.find-comment.outputs.comment-id }}
159159 issue-number : ${{ github.event.pull_request.number }}
@@ -173,7 +173,7 @@ jobs:
173173
174174 - name : Update comment (failure)
175175 if : needs.build.result != 'success'
176- uses : peter-evans/create-or-update-comment@v4
176+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
177177 with :
178178 comment-id : ${{ steps.find-comment.outputs.comment-id }}
179179 issue-number : ${{ github.event.pull_request.number }}
@@ -201,7 +201,7 @@ jobs:
201201 packages : write
202202 steps :
203203 - name : Delete PR images
204- uses : actions/github-script@v7
204+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
205205 with :
206206 script : |
207207 const packages = ['node-red-seqera', 'node-red-seqera-studios'];
0 commit comments