File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,7 @@ concurrency:
2121
2222jobs :
2323 changed-files :
24- if : github.event_name != 'schedule'
2524 runs-on : ubuntu-latest
26- outputs :
27- any_changed : ${{ steps.changed-files.outputs.changed_directories }}
2825 steps :
2926 - uses : actions/checkout@v4
3027 with :
3330 - name : Get changed files
3431 id : changed-files
3532 uses : step-security/changed-files@v46
33+ with :
34+ base_sha : $(git rev-parse main)
3635
3736 - name : List all changed files
3837 env :
4140 for file in ${ALL_CHANGED_FILES}; do
4241 echo "$file was changed"
4342 done
44-
45- pre-commit :
46- runs-on : ubuntu-latest
47- needs : changed-files
48- if : needs.changed-files.outputs.any_changed == 'true'
49- steps :
50- - uses : actions/checkout@v4
51- with :
52- fetch-depth : 0
53- - uses : actions/setup-python@v5
54- with :
55- python-version : " 3.13"
56- cache : " pip"
57- - name : Setup UV
58- uses : astral-sh/setup-uv@v6
59- with :
60- enable-cache : true
61- - run : |
62- uv tool install pre-commit --with pre-commit-uv --force-reinstall
63- uv tool install tach>=0.9.0
64- uv tool update-shell
65- - run : ./ci/scripts/static_checks.sh
66-
You can’t perform that action at this time.
0 commit comments