adamrtalbot/detect-nf-test-changes
Identify changed files within Nextflow repo between two branches and return them as output.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 30, 2024
- License
- MIT
Pinned Snippet
uses: adamrtalbot/detect-nf-test-changes@de3c3c8e113031b4f15a3c1104b5f135e8346997 # v0.0.6tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| root | Root directory of the Nextflow repository. | no | . |
| head | Head reference branch (Source branch for a PR). | yes | — |
| base | Base reference branch (Target branch for a PR). | yes | — |
| ignored | List 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 |
| include | Path 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 | — |
| types | List of Nextflow component types to include in the output as a comma separated list. Default: "function,process,workflow,pipeline". | no | function,process,workflow,pipeline |
| n_parents | Number 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. | no | 0 |
| tags | List of tags to include in the output as a comma separated list. Default: "". | no | "" |
| exclude_tags | List of tags to exclude in the output as a comma separated list. Default: "". | no | "" |
| log_level | Log level for the action. Default: "INFO". | no | INFO |
Outputs
| name | description |
|---|---|
| components | List of Nextflow components that require testing based on the branch differences. |