File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v5
13+ with :
14+ fetch-depth : 0
1315 - uses : ./.github/actions/bootstrap
16+ - run : npm ci
17+ working-directory : src/Elastic.Documentation.Site
1418 - uses : actions/setup-python@v6
15- -
uses :
pre-commit/[email protected] 19+ - name : Run pre-commit on PRs
20+ uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
21+ if : ${{ github.event.pull_request }}
22+ with :
23+ extra_args : --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}
24+ - name : Run pre-commit on branches
25+ uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
26+ if : ${{ ! github.event.pull_request }}
You can’t perform that action at this time.
0 commit comments