Skip to content

Commit 486900a

Browse files
committed
only run prek on changed files
1 parent 8058298 commit 486900a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/fix-linting.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
id: prek
3737
uses: j178/prek-action@v1
3838
continue-on-error: true
39+
with:
40+
args: ""
3941

4042
- name: Post nothing-to-do comment
4143
if: steps.prek.outcome == 'success'

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
4040
- name: Run prek
4141
uses: j178/prek-action@v1
42+
with:
43+
args: ""
4244

4345
###################
4446
# nf-core linting #

0 commit comments

Comments
 (0)