@@ -27,14 +27,14 @@ jobs:
2727 base_repo : ${{ fromJSON(steps.judge.outputs.result).base_repo }}
2828 pull_number : ${{ fromJSON(steps.judge.outputs.result).pull_number }}
2929 steps :
30- - uses : actions/checkout@v4
30+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131 with :
3232 sparse-checkout : |
3333 .github
3434 - uses : ./.github/actions/validate-author
3535 - name : judge
3636 id : judge
37- uses : actions/github-script@v7
37+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
3838 with :
3939 script : |
4040 core.debug(JSON.stringify(context, null, 2));
5858 outputs :
5959 reformatted : ${{ steps.patch.outputs.reformatted }}
6060 steps :
61- - uses : actions/checkout@v4
61+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6262 with :
6363 repository : ${{ needs.check-comment.outputs.repository }}
6464 ref : ${{ needs.check-comment.outputs.head_ref }}
8181 # Merge the base branch (which is usually master) to apply formatting using the latest configurations.
8282 - name : Merge base branch
8383 run : |
84- git config user.name 'mlflow-automation '
85- git config user.email 'mlflow-automation @users.noreply.github.com'
84+ git config user.name 'mlflow-app[bot] '
85+ git config user.email 'mlflow-app[bot] @users.noreply.github.com'
8686 git remote add base https://github.com/${{ needs.check-comment.outputs.base_repo }}.git
8787 git fetch base ${{ needs.check-comment.outputs.base_ref }}
8888 git merge base/${{ needs.check-comment.outputs.base_ref }}
@@ -154,7 +154,7 @@ jobs:
154154 echo "reformatted=$reformatted" >> $GITHUB_OUTPUT
155155
156156 - name : Upload patch
157- uses : actions/upload-artifact@v4
157+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
158158 with :
159159 name : ${{ github.run_id }}.diff
160160 path : ${{ github.run_id }}.diff
@@ -168,14 +168,14 @@ jobs:
168168 outputs :
169169 head_sha : ${{ steps.push.outputs.head_sha }}
170170 steps :
171- - uses : actions/create-github-app-token@v1
171+ - uses : actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
172172 id : app-token
173173 with :
174174 app-id : ${{ secrets.APP_ID }}
175175 # See https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/managing-private-keys-for-github-apps
176176 # for how to rotate the private key
177177 private-key : ${{ secrets.APP_PRIVATE_KEY }}
178- - uses : actions/checkout@v4
178+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
179179 with :
180180 repository : ${{ needs.check-comment.outputs.repository }}
181181 ref : ${{ needs.check-comment.outputs.head_ref }}
@@ -191,14 +191,14 @@ jobs:
191191 BASE_REPO : ${{ needs.check-comment.outputs.base_repo }}
192192 BASE_REF : ${{ needs.check-comment.outputs.base_ref }}
193193 run : |
194- git config user.name 'mlflow-automation '
195- git config user.email 'mlflow-automation @users.noreply.github.com'
194+ git config user.name 'mlflow-app[bot] '
195+ git config user.email 'mlflow-app[bot] @users.noreply.github.com'
196196 git remote add base https://github.com/${BASE_REPO}.git
197197 git fetch base $BASE_REF
198198 git merge base/${BASE_REF}
199199
200200 - name : Download patch
201- uses : actions/download-artifact@v4
201+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
202202 with :
203203 name : ${{ github.run_id }}.diff
204204 path : /tmp
@@ -223,12 +223,12 @@ jobs:
223223 statuses : write # To update check statuses
224224 actions : write # To approve workflow runs
225225 steps :
226- - uses : actions/checkout@v4
226+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
227227 with :
228228 sparse-checkout : |
229229 .github
230230 - name : Update status
231- uses : actions/github-script@v7
231+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
232232 with :
233233 script : |
234234 const needs = ${{ toJson(needs) }};
0 commit comments