@@ -24,12 +24,12 @@ jobs:
2424
2525 steps :
2626 - name : Checkout code
27- uses : actions/checkout@v4
27+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2828 with :
2929 fetch-depth : 0
3030
3131 - name : Check PR title format
32- uses : actions/github-script@v7
32+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
3333 with :
3434 script : |
3535 // Dependabot and security bots follow their own title format — skip validation
5353 }
5454
5555 - name : Check PR description
56- uses : actions/github-script@v7
56+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
5757 with :
5858 script : |
5959 // Dependabot and security bots use auto-generated descriptions — skip validation
9494 fi
9595
9696 - name : Check for WIP
97- uses : actions/github-script@v7
97+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
9898 with :
9999 script : |
100100 const title = context.payload.pull_request.title;
@@ -119,12 +119,12 @@ jobs:
119119
120120 steps :
121121 - name : Checkout code
122- uses : actions/checkout@v4
122+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
123123 with :
124124 fetch-depth : 0
125125
126126 - name : Setup Node.js
127- uses : actions/setup-node@v4
127+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
128128 with :
129129 node-version : ${{ env.NODE_VERSION }}
130130
@@ -148,10 +148,10 @@ jobs:
148148
149149 steps :
150150 - name : Checkout code
151- uses : actions/checkout@v4
151+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
152152
153153 - name : Setup Node.js
154- uses : actions/setup-node@v4
154+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
155155 with :
156156 node-version : ${{ env.NODE_VERSION }}
157157 cache : ' npm'
@@ -168,7 +168,7 @@ jobs:
168168 }
169169
170170 - name : Check for secrets
171- uses : trufflesecurity/trufflehog@main
171+ uses : trufflesecurity/trufflehog@ab5dd03ee012e5f372e2ba82c4813c2ba1331261 # main
172172 with :
173173 path : ./
174174 base : ${{ github.event.pull_request.base.sha }}
@@ -182,7 +182,7 @@ jobs:
182182
183183 steps :
184184 - name : Check PR size
185- uses : actions/github-script@v7
185+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
186186 with :
187187 script : |
188188 const additions = context.payload.pull_request.additions;
@@ -234,7 +234,7 @@ jobs:
234234
235235 steps :
236236 - name : Label based on files
237- uses : actions/labeler@v5
237+ uses : actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
238238 with :
239239 repo-token : ${{ secrets.GITHUB_TOKEN }}
240240 configuration-path : .github/labeler.yml
0 commit comments