mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
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:
parent
ab67a1d41b
commit
3d0b873584
3 changed files with 17 additions and 3 deletions
7
.github/workflows/code-linting.yml
vendored
7
.github/workflows/code-linting.yml
vendored
|
@ -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:
|
||||||
|
|
7
.github/workflows/nf-core-linting.yml
vendored
7
.github/workflows/nf-core-linting.yml
vendored
|
@ -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:
|
||||||
|
|
6
.github/workflows/pytest-workflow.yml
vendored
6
.github/workflows/pytest-workflow.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue