arbeidstilsynet/Check changes
Check if specified paths changed since last successful run of a workflow
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 3, 2026
- License
- MIT
Pinned Snippet
uses: arbeidstilsynet/action-check-changes@6e51077b178b819e4194f40e32bd562df0954f3f # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| include | Newline separated list of Git pathspecs to include | yes | — |
| exclude | Newline separated list of Git pathspecs to exclude | no | "" |
| workflow-file | Workflow file (e.g. deploy.yml) whose last successful run determines the base commit | no | — |
| base-ref | Git ref (commit SHA, branch, tag, or remote ref like origin/main) to use directly as base. Skips workflow run lookup if set. | no | "" |
Outputs
| name | description |
|---|---|
| changes_detected | true if any included (and not excluded) paths changed |
| base_sha | Base commit used for diff |
| head_sha | Current HEAD sha |
| changed_files | Newline separated list of changed files after exclusions |