Skip to content

Commit

Permalink
add GITHUB_TOKEN and use it for paths-filter instead of the default g…
Browse files Browse the repository at this point in the history
…ithub.token (nf-core#3891)
  • Loading branch information
mirpedrol authored and snesic committed Oct 10, 2023
1 parent 5cafadf commit 2674cc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
env:
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
prettier:
Expand Down Expand Up @@ -59,6 +60,7 @@ jobs:
id: filter
with:
filters: "tests/config/pytest_modules.yml"
token: "${{ secrets.GITHUB_TOKEN }}"

nf-core-lint:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -367,6 +369,7 @@ jobs:
id: filter
with:
filters: "tests/config/nftest_modules.yml"
token: "${{ secrets.GITHUB_TOKEN }}"

nf-test:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 2674cc6

Please sign in to comment.