adamrtalbot/detect-nf-test-changes

Identify changed files within Nextflow repo between two branches and return them as output.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 30, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: adamrtalbot/detect-nf-test-changes@de3c3c8e113031b4f15a3c1104b5f135e8346997 # v0.0.6

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
rootRoot directory of the Nextflow repository.no.
headHead reference branch (Source branch for a PR).yes
baseBase reference branch (Target branch for a PR).yes
ignoredList of files or file substrings to ignore. Default: [".git/*", ".gitpod.yml", ".prettierignore", ".prettierrc.yml", "*.md", "*.png", "modules.json", "pyproject.toml", "tower.yml"]no.git/* .gitpod.yml .prettierignore .prettierrc.yml *.md *.png modules.json pyproject.toml tower.yml
includePath to an include file containing a YAML of key value pairs to include in changed files. I.e., return the current directory if an important file is changed.no
typesList of Nextflow component types to include in the output as a comma separated list. Default: "function,process,workflow,pipeline".nofunction,process,workflow,pipeline
n_parentsNumber of parents of changed files to return. Default is 0, the changed file. 1 to return the parent directory, 2 to return the parent of that directory etc.no0
tagsList of tags to include in the output as a comma separated list. Default: "".no""
exclude_tagsList of tags to exclude in the output as a comma separated list. Default: "".no""
log_levelLog level for the action. Default: "INFO".noINFO
namedescription
componentsList of Nextflow components that require testing based on the branch differences.