GitHub action for linting nf-core pipelines with nf-core tools
Nextflow version. Default: install latest version
nf-core tools version. Default: install latest version
nf-core tools linting mode:
'': normal mode (default)'release: for releases
Github PR comments URL: ${{ github.event.pull_request.comments_url }}
Default: ''
Github Token: ${{ secrets.GITHUB_TOKEN }}
Default: ''
Github PR commit SHA: ${{ github.event.pull_request.head.sha }}
Default: ''
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 }}