Skip to content

Commit 1131eaf

Browse files
committed
fix work directory for action
1 parent 048f529 commit 1131eaf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/create-lint-wf/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
run: |
4141
pip install prek
4242
prek run --all-files --config .pre-commit-config.yaml
43-
working-directory: create-lint-wf
43+
working-directory: create-lint-wf/nf-core-testpipeline
4444

4545
# Update modules to the latest version
4646
- name: nf-core modules update

.github/workflows/create-test-lint-wf-template.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
run: |
151151
pip install prek
152152
prek run --all-files --config .pre-commit-config.yaml
153-
working-directory: create-test-lint-wf
153+
working-directory: create-test-lint-wf/my-prefix-testpipeline
154154

155155
# Remove TODO statements
156156
- name: remove TODO
@@ -180,8 +180,8 @@ jobs:
180180
# Run code style linting
181181
- name: run pre-commit
182182
shell: bash
183-
run: prek run --all-files
184-
working-directory: create-test-lint-wf
183+
run: prek run --all-files --config .pre-commit-config.yaml
184+
working-directory: create-test-lint-wf/my-prefix-testpipeline
185185

186186
# Run bump-version
187187
- name: nf-core pipelines bump-version

0 commit comments

Comments
 (0)