-
Notifications
You must be signed in to change notification settings - Fork 190
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 #719 from nf-core/dev
1.10.2 Patch release
- Loading branch information
Showing
18 changed files
with
336 additions
and
257 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,34 @@ on: | |
types: [published] | ||
|
||
jobs: | ||
sync-all: | ||
name: Sync all pipelines | ||
get-pipelines: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- id: set-matrix | ||
run: | | ||
curl -O https://nf-co.re/pipeline_names.json | ||
echo "::set-output name=matrix::$(cat pipeline_names.json)" | ||
sync: | ||
needs: get-pipelines | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: ${{fromJson(needs.get-pipelines.outputs.matrix)}} | ||
fail-fast: false | ||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
name: Check out source-code repository | ||
name: Check out nf-core/tools | ||
|
||
- uses: actions/checkout@v2 | ||
name: Check out nf-core/${{ matrix.pipeline }} | ||
with: | ||
repository: nf-core/${{ matrix.pipeline }} | ||
ref: dev | ||
token: ${{ secrets.nf_core_bot_auth_token }} | ||
path: nf-core/${{ matrix.pipeline }} | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v1 | ||
|
@@ -32,14 +53,20 @@ jobs: | |
- name: Run synchronisation | ||
if: github.repository == 'nf-core/tools' | ||
env: | ||
AUTH_TOKEN: ${{ secrets.nf_core_bot_auth_token }} | ||
GITHUB_AUTH_TOKEN: ${{ secrets.nf_core_bot_auth_token }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "nf-core-bot" | ||
nf-core --log-file sync_log.txt sync --all --username nf-core-bot --auth-token $AUTH_TOKEN | ||
nf-core --log-file sync_log_${{ matrix.pipeline }}.txt sync nf-core/${{ matrix.pipeline }} \ | ||
--from-branch dev \ | ||
--pull-request \ | ||
--username nf-core-bot \ | ||
--repository nf-core/${{ matrix.pipeline }} | ||
- name: Upload sync log file artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: sync-log-file | ||
path: sync_log.txt | ||
name: sync_log_${{ matrix.pipeline }} | ||
path: sync_log_${{ matrix.pipeline }}.txt |
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
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
Oops, something went wrong.