Skip to content

Commit

Permalink
run lint with --release on PR to master
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Aug 30, 2024
1 parent ff9e535 commit 5942347
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }}
run: nf-core -l lint_log.txt lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}

- name: Run nf-core lint --release
env:
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }}
run: nf-core -l lint_log.txt lint --release --dir ${GITHUB_WORKSPACE} --markdown lint_results.md
if: ${{ github.event_name == 'release' }}

- name: Save PR number
if: ${{ always() }}
Expand Down

0 comments on commit 5942347

Please sign in to comment.