Skip to content

Commit 9ca877b

Browse files
committed
try with explicit main ref
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent 7a97ace commit 9ca877b

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/bionemo-recipes.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ concurrency:
2121

2222
jobs:
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:
@@ -33,6 +30,8 @@ jobs:
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:
@@ -41,26 +40,3 @@ jobs:
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-

0 commit comments

Comments
 (0)