@@ -15,11 +15,11 @@ jobs:
1515 matrix : ${{ steps.set-matrix.outputs.matrix }}
1616 steps :
1717 - name : Checkout repository
18- uses : actions/checkout@v4
18+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919
2020 - name : Detect changed Dockerfiles
2121 id : changes
22- uses : dorny/paths-filter@v3
22+ uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
2323 with :
2424 filters : |
2525 ttyd:
@@ -69,28 +69,28 @@ jobs:
6969
7070 steps :
7171 - name : Checkout repository
72- uses : actions/checkout@v4
72+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
7373
7474 - name : Log in to the Container registry
75- uses : docker/login-action@v3
75+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
7676 with :
7777 registry : ${{ env.REGISTRY }}
7878 username : ${{ github.actor }}
7979 password : ${{ secrets.GHCR_TOKEN }}
8080
8181 - name : Set up Docker Buildx
82- uses : docker/setup-buildx-action@v3
82+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
8383
8484 - name : Extract metadata
8585 id : meta
86- uses : docker/metadata-action@v5
86+ uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
8787 with :
8888 images : ${{ env.REGISTRY }}/${{ github.repository }}/development
8989 tags : |
9090 type=ref,event=pr,prefix=${{ matrix.container.name }}-pr
9191
9292 - name : Build and push ${{ matrix.container.name }}
93- uses : docker/build-push-action@v5
93+ uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
9494 with :
9595 context : ${{ matrix.container.path }}
9696 push : true
@@ -127,7 +127,7 @@ jobs:
127127 fi
128128
129129 - name : Upload security scan results
130- uses : actions/upload-artifact@v4
130+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
131131 if : always()
132132 with :
133133 name : trivy-scan-${{ matrix.container.name }}-${{ github.run_id }}
@@ -145,7 +145,7 @@ jobs:
145145 echo "- **Commit**: \`${{ github.sha }}\`" >> $GITHUB_STEP_SUMMARY
146146
147147 - name : Comment on PR
148- uses : actions/github-script@v7
148+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
149149 with :
150150 script : |
151151 const fs = require('fs');
0 commit comments