File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: Apache-2.0
44
5- name : Pre-commit checks
5+ name : Prek checks
66
77on :
88 push :
@@ -14,7 +14,7 @@ permissions:
1414 contents : read
1515
1616jobs :
17- pre-commit :
17+ prek :
1818 runs-on : ubuntu-latest
1919
2020 steps :
@@ -41,10 +41,10 @@ jobs:
4141 - name : Install prek
4242 run : pip install prek
4343
44- - name : Run pre-commit checks (PR)
44+ - name : Run prek checks (PR)
4545 if : github.event_name == 'pull_request'
4646 run : prek run --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }} --show-diff-on-failure
4747
48- - name : Run pre-commit checks (push)
48+ - name : Run prek checks (push)
4949 if : github.event_name == 'push'
5050 run : prek run --from-ref ${{ github.event.before }} --to-ref ${{ github.event.after }} --show-diff-on-failure
You can’t perform that action at this time.
0 commit comments