Run CI only on pull-requests and on the master-branch. (#743)

* Run CI only on pull-requests and on the master-branch.

* also for the other workflows
This commit is contained in:
Gregor Sturm 2021-09-27 08:03:30 +02:00 committed by GitHub
parent ab67a1d41b
commit 3d0b873584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 3 deletions

View file

@ -1,5 +1,10 @@
name: Code Linting name: Code Linting
on: [push, pull_request] on:
push:
branches: [master]
pull_request:
branches: [master]
jobs: jobs:
Markdown: Markdown:

View file

@ -1,7 +1,12 @@
name: nf-core linting name: nf-core linting
# This workflow is triggered on pushes and PRs to the repository. # This workflow is triggered on pushes and PRs to the repository.
# It runs the `nf-core lint` tests to ensure that the module code meets the nf-core guidelines # It runs the `nf-core lint` tests to ensure that the module code meets the nf-core guidelines
on: [push, pull_request] on:
push:
branches: [master]
pull_request:
branches: [master]
jobs: jobs:
changes: changes:

View file

@ -1,5 +1,9 @@
name: Pytest-workflow name: Pytest-workflow
on: [push, pull_request] on:
push:
branches: [master]
pull_request:
branches: [master]
jobs: jobs:
changes: changes: