Skip to content

Commit a525ce9

Browse files
committed
fix udpate_components script
1 parent 0a75afa commit a525ce9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/update_components_template.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,23 @@ jobs:
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
15+
with:
16+
ref: dev
1517

1618
- name: Set up Python
1719
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
1820
with:
1921
python-version: "3.x"
2022

23+
- name: Install Nextflow
24+
uses: nf-core/setup-nextflow@v2
25+
with:
26+
version: "24.04.2"
27+
2128
- name: Install nf-core
22-
run: pip install nf-core
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install .
2332
2433
- name: Update modules
2534
run: nf-core modules update --all --no-preview
@@ -36,11 +45,11 @@ jobs:
3645
git config user.name "nf-core-bot"
3746
git add .
3847
git status
39-
git commit -m "[automated] Fix code linting"
48+
git commit -m "[automated] Update components in template"
4049
4150
# Open a new PR to dev with the changes
4251
- name: Create PR
4352
run: |
4453
git checkout -b update-modules
4554
git push origin update-modules
46-
gh pr create --title "Update modules in template" --body "This PR updates the modules in the pipeline template" --base dev --head update-modules
55+
gh pr create --title "Template: Update components in template" --body "This PR updates the modules and subworkflows in the pipeline template" --base dev --head update-modules

0 commit comments

Comments
 (0)