rvesse/Detect Changes Action
A simple action to help detect whether relevant changes have occurred and report an output that can been used to customise subsequent jobs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pattern | Specifies a grep expression used to match the changed files, if any changed files match then changes are considered detected | yes | — |
| flags | Specifies any flags to pass to grep, for example you might use -F if you wanted to just use a file extension in the `pattern` input | no | — |
| base | Specifies the base branch that changes are detected relative to. | no | main |
| output-on-base | Specifies what the output should be if this runs on the `base` branch. | no | true |
| summary | Specifies whether the list of files with detected changes are output in the Job Summary, enabled by default. | no | true |
| notices | Specifies whether the action issues GitHub Actions warnings and notices, enabled by default. | no | true |
Outputs
| name | description |
|---|---|
| changed | Value indicating whether changes have been detected based on the given configuration, `true` if changes detected, `false` if no changes detected and `output-on-base` if run on the configured `base` branch. |