@@ -31,19 +31,19 @@ jobs:
3131 pre-commit :
3232 runs-on : ubuntu-latest
3333 container :
34- image : devopsroastbot/mise:2025.8.20-alpine
34+ image : devopsroastbot/mise:2025.8.20-alpine@sha256:3af00d5bcec3be143e054f4269e7a3c644c4cee2e25891208d04f21586b5a924
3535 credentials :
3636 username : ${{ secrets.DOCKER_REGISTRY_USERNAME }}
3737 password : ${{ secrets.DOCKER_REGISTRY_TOKEN }}
3838 steps :
3939 - name : generate token from github app
4040 id : github_app
41- uses : getsentry/action-github-app-token@v3
41+ uses : getsentry/action-github-app-token@d4b5da6c5e37703f8c3b3e43abb5705b46e159cc # v3
4242 with :
4343 app_id : ${{ inputs.gh_app_id }}
4444 private_key : ${{ secrets.DEVOPS_ROAST_BOT_GH_APP_PRIVATE_KEY }}
4545 - name : checkout
46- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v5
46+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4747 env :
4848 REF_TO_CHECKOUT : ${{ inputs.auto_commit == true && github.head_ref || '' }}
4949 with :
@@ -68,19 +68,19 @@ jobs:
6868 curl --silent -H "Authorization: Bearer ${{ steps.github_app.outputs.token }}" https://api.github.com/meta | \
6969 jq --raw-output '"github.com " + .ssh_keys[]' >> /etc/ssh/ssh_known_hosts
7070 - name : setup ssh for private pre-commit hooks
71- uses : webfactory/ssh-agent@v0.9.0
71+ uses : webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
7272 with :
7373 ssh-private-key : ${{ secrets.PRE_COMMIT_HOOKS_REPO_DEPLOY_KEY }}
7474 - name : cache mise dependencies
75- uses : actions/cache@v4
75+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
7676 with :
7777 path : ~/.local/share/mise
7878 key : mise-${{ runner.os }}-${{ hashFiles('mise.toml') }}
7979 - name : mise install
8080 run : |
8181 mise install --yes
8282 - name : cache pre-commit dependencies
83- uses : actions/cache@v4
83+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
8484 with :
8585 path : ~/.cache/pre-commit
8686 key : pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -100,7 +100,7 @@ jobs:
100100 CONTINUE_ON_ERROR : ${{ inputs.auto_commit == true }}
101101 continue-on-error : ${{ fromJSON(env.CONTINUE_ON_ERROR) }}
102102 - name : auto fix changes reported by pre-commit
103- uses : stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1 .0
103+ uses : stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2 .0
104104 id : auto_commit_action
105105 if : inputs.auto_commit
106106 with :
0 commit comments