File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -47,25 +47,19 @@ jobs:
4747 )"
4848 > hadolint
4949 && chmod +x hadolint && sudo mv hadolint /usr/bin/
50- # Need to success pre-commit fix push
50+ # Needed for pre-commit fix push to succeed
5151 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5252 with :
5353 fetch-depth : 0
5454 ref : ${{ github.event.pull_request.head.sha }}
55+ # Needed to trigger pre-commit workflow on autofix commit. Guide:
56+ # https://web.archive.org/web/20210731173012/https://github.community/t/required-check-is-expected-after-automated-push/187545/
57+ ssh-key : ${{ secrets.GHA_AUTOFIX_COMMIT_KEY }}
5558 # Skip terraform_tflint which interferes to commit pre-commit auto-fixes
5659 - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
5760 with :
5861 python-version : ' 3.13'
5962
60- # Needed for pre-commit fix push to succeed
61- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
62- with :
63- fetch-depth : 0
64- ref : ${{ github.event.pull_request.head.ref }}
65- # Needed to trigger pre-commit workflow on autofix commit. Guide:
66- # https://web.archive.org/web/20210731173012/https://github.community/t/required-check-is-expected-after-automated-push/187545/
67- ssh-key : ${{ secrets.GHA_AUTOFIX_COMMIT_KEY }}
68-
6963 - name : Execute pre-commit
7064 uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
7165 env :
You can’t perform that action at this time.
0 commit comments