-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #472 from nf-core/nf-core/tools/3.0.0
Template update 3.0.1
- Loading branch information
Showing
57 changed files
with
763 additions
and
834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: nf-core template version comment | ||
# This workflow is triggered on PRs to check if the pipeline template version matches the latest nf-core version. | ||
# It posts a comment to the PR, even if it comes from a fork. | ||
|
||
on: pull_request_target | ||
|
||
jobs: | ||
template_version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out pipeline code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | ||
|
||
- name: Read template version from .nf-core.yml | ||
uses: pietrobolcato/action-read-yaml@1.1.0 | ||
id: read_yml | ||
with: | ||
config: ${{ github.workspace }}/.nf-core.yml | ||
|
||
- name: Install nf-core | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install nf-core==${{ steps.read_yml.outputs['nf_core_version'] }} | ||
- name: Check nf-core outdated | ||
id: nf_core_outdated | ||
run: pip list --outdated | grep nf-core | ||
|
||
- name: Post nf-core template version comment | ||
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2 | ||
if: | | ||
${{ steps.nf_core_outdated.outputs.stdout }} =~ 'nf-core' | ||
with: | ||
repo-token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }} | ||
allow-repeats: false | ||
message: | | ||
## :warning: Newer version of the nf-core template is available. | ||
Your pipeline is using an old version of the nf-core template: ${{ steps.read_yml.outputs['nf_core_version'] }}. | ||
Please update your pipeline to the latest version. | ||
For more documentation on how to update your pipeline, please see the [nf-core documentation](https://github.com/nf-core/tools?tab=readme-ov-file#sync-a-pipeline-with-the-template) and [Synchronisation documentation](https://nf-co.re/docs/contributing/sync). | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
repository_type: pipeline | ||
nf_core_version: "2.14.1" | ||
bump_version: null | ||
lint: | ||
nextflow_config: | ||
- config_defaults: | ||
- params.fastp_known_mirna_adapters | ||
nf_core_version: 3.0.1 | ||
org_path: null | ||
repository_type: pipeline | ||
template: | ||
author: "P. Ewels, C. Wang, R. Hammar\xE9n, L. Pantano, A. Peltzer" | ||
description: Small RNA-Seq Best Practice Analysis Pipeline. | ||
force: false | ||
is_nfcore: true | ||
name: smrnaseq | ||
org: nf-core | ||
outdir: . | ||
skip_features: null | ||
version: 2.4.0 | ||
update: null |
Oops, something went wrong.