Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove component update script #3464

Merged
merged 3 commits into from
Mar 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/update_components_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: dev

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

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "24.04.2"

- name: Install nf-core
run: pip install nf-core
run: |
python -m pip install --upgrade pip
pip install .

- name: Update modules
run: nf-core modules update --all --no-preview
Expand All @@ -36,11 +45,11 @@ jobs:
git config user.name "nf-core-bot"
git add .
git status
git commit -m "[automated] Fix code linting"
git commit -m "[automated] Update components in template"

# Open a new PR to dev with the changes
- name: Create PR
run: |
git checkout -b update-modules
git push origin update-modules
gh pr create --title "Update modules in template" --body "This PR updates the modules in the pipeline template" --base dev --head update-modules
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
Loading