arbeidstilsynet/Check changes

Check if specified paths changed since last successful run of a workflow

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 3, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: arbeidstilsynet/action-check-changes@6e51077b178b819e4194f40e32bd562df0954f3f # v1

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

namedescriptionrequireddefault
includeNewline separated list of Git pathspecs to includeyes
excludeNewline separated list of Git pathspecs to excludeno""
workflow-fileWorkflow file (e.g. deploy.yml) whose last successful run determines the base commitno
base-refGit ref (commit SHA, branch, tag, or remote ref like origin/main) to use directly as base. Skips workflow run lookup if set.no""
namedescription
changes_detectedtrue if any included (and not excluded) paths changed
base_shaBase commit used for diff
head_shaCurrent HEAD sha
changed_filesNewline separated list of changed files after exclusions