Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

nf-core/gh-actions-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

24 Commits

Repository files navigation

gh-actions-lint

GitHub action for linting nf-core pipelines with nf-core tools

Inputs

nextflow_version

Nextflow version. Default: install latest version

nfcore_version

nf-core tools version. Default: install latest version

mode

nf-core tools linting mode:

  • '': normal mode (default)
  • 'release: for releases

GITHUB_COMMENTS_URL

Github PR comments URL: ${{ github.event.pull_request.comments_url }} Default: ''

GITHUB_TOKEN

Github Token: ${{ secrets.GITHUB_TOKEN }} Default: ''

GITHUB_PR_COMMIT

Github PR commit SHA: ${{ github.event.pull_request.head.sha }} Default: ''

Example usage

name: nf-core CI
on: [push, pull_request]
jobs:
 nf-core linting:
 runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@v1
 - name: Run nf-core linting
 uses: maxibor/nf-core-gh-action@master
 with:
 nextflow_version: '20.04.1'
 nfcore_version: '1.9'
 mode: 'release'
 GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }}
 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }}

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /