diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index c200a5b072..f98f090797 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -3,6 +3,11 @@ on: release: types: [published] workflow_dispatch: + inputs: + testpipeline: + type: boolean + description: Only run on nf-core/testpipeline? + required: true # Uncomment if we need an edge release of Nextflow again # env: NXF_EDGE: 1 @@ -15,7 +20,11 @@ jobs: steps: - id: set-matrix run: | - curl -O https://nf-co.re/pipeline_names.json + if [ "${{ github.event.inputs.use-emoji }}" == "true" ]; then + echo '{"pipeline":["testpipeline"]}' > pipeline_names.json + else + curl -O https://nf-co.re/pipeline_names.json + fi echo "::set-output name=matrix::$(cat pipeline_names.json)" sync: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5893f08b45..259bd35e28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ## [v2.4.1 - Cobolt Koala Patch](https://github.com/nf-core/tools/releases/tag/2.4) - [2022-05-16] -- Patch release to try to fix the template sync ([#1585](https://github.com/nf-core/tools/pull/1585)). -- Avoid persistent temp files from pytests ([#1566](https://github.com/nf-core/tools/pull/1566)). +- Patch release to try to fix the template sync ([#1585](https://github.com/nf-core/tools/pull/1585)) +- Avoid persistent temp files from pytests ([#1566](https://github.com/nf-core/tools/pull/1566)) +- Add option to trigger sync manually on just nf-core/testpipeline ## [v2.4 - Cobolt Koala](https://github.com/nf-core/tools/releases/tag/2.4) - [2022-05-16]