Skip to content

Commit

Permalink
use env variable to check nf-core outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Oct 10, 2024
1 parent 7f09596 commit 1b9d8e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Check nf-core outdated
id: nf_core_outdated
run: pip list --outdated
run: echo "OUTPUT=$(pip list --outdated | grep nf-core)" >> ${GITHUB_ENV}

- name: Post nf-core template version comment
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
if: |
contains(steps.nf_core_outdated.outputs.stdout, 'nf-core')
contains(env.OUTPUT, 'nf-core')
with:
repo-token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }}
allow-repeats: false
Expand Down

0 comments on commit 1b9d8e9

Please sign in to comment.