Skip to content

Commit

Permalink
Template: run awsfulltest only when target branch is master
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Oct 8, 2024
1 parent 0178c9f commit 0bbaead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nf_core/pipeline-template/.github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:
jobs:
run-platform:
name: Run AWS full tests
if: github.repository == '{{ name }}' && github.event.review.state == 'approved'
# run only if the PR is approved by at least 2 reviewers and against the master branch
if: github.repository == '{{ name }}' && github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'master'
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
Expand Down

0 comments on commit 0bbaead

Please sign in to comment.