Skip to content

Commit

Permalink
Merge pull request #2970 from mashehu/run-release-on-self-hosted
Browse files Browse the repository at this point in the history
Run sync after release on self hosted runners
  • Loading branch information
mashehu authored May 9, 2024
2 parents 1fecdc4 + 1d147cc commit 2d8aa3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
sync:
needs: get-pipelines
# use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default
runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}
# use the github runner on release otherwise use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default
runs-on: ${{github.event_name == 'release' && 'self-hosted' || github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}
strategy:
matrix: ${{fromJson(needs.get-pipelines.outputs.matrix)}}
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
### General

- Fix update github action for components in pipeline template ([#2968](https://github.com/nf-core/tools/pull/2968))
- Run sync after release on self hosted runners ([#2970](https://github.com/nf-core/tools/pull/2970))

## [v2.14.0 - Tantalum Toad](https://github.com/nf-core/tools/releases/tag/2.14.0) - [2024-05-08]

Expand Down

0 comments on commit 2d8aa3b

Please sign in to comment.