Description
verify-changed-files is a GitHub Action that checks whether files or directories changed while a workflow was running. You use it to confirm that certain files did or did not change during a job, for example to check that a generated file is still up to date. The action only detects files with pending uncommitted changes that were produced during the workflow run. It does not look at changes in a pull request or a pushed commit. For that, the README points to the separate tj-actions/changed-files action. The action sets a boolean output that says whether files changed, and a string listing the changed files. You can limit detection to a subset of files with glob patterns, including globstar, brace expansion and negation. It detects changes to tracked and untracked files, and the README shows how to check whether a path contains a changed file. It works on Linux, macOS and Windows, on GitHub-hosted runners, GitHub Enterprise Server and self-hosted runners. The project is MIT licensed, and the README lists a known limitation for certain special characters in file names.…
Highlights
- Checks whether files changed during a workflow run
- Boolean output and a list of the changed files
- Glob patterns with globstar, braces and negation
- Detects changes to tracked and untracked files
- Runs on Linux, macOS, Windows and GitHub Enterprise Server
Ratings & Reviews
No ratings yet
Be the first to rate Verify Changed Files.
People also visit
Release Changelog Builder Action
A GitHub action that builds your release notes / changelog fast

generate-custom-instructions-from-codebase
Generates GitHub Copilot migration instructions

KongFangXun/sofagent
Commit-time audits for AI coding agents: scan git diffs for secret leaks
Verify Changed Files FAQ
What is verify-changed-files?
It is a GitHub Action that verifies whether certain files or directories changed during a workflow execution, and reports the result as outputs you can use in later steps.
How is it different from changed-files?
verify-changed-files only detects uncommitted changes generated during the workflow run. The README says to use tj-actions/changed-files to run a step when a file changes in a pull request or pushed commit.
Which platforms does it support?
The README says it supports Linux, macOS and Windows, including GitHub-hosted runners, GitHub Enterprise Server and self-hosted runners.
How do I choose which files to check?
You can limit detection with glob patterns, and the README notes support for globstar, brace expansion and negation. It also shows how to get all unstaged tracked and untracked files.
What are the outputs?
changed_files is a string listing the changed files, and files_changed is a boolean that is true when files have changed.
What are the best Verify Changed Files alternatives?
Popular alternatives to Verify Changed Files include Release Changelog Builder Action, Git Changelog Lib and Gitstream. See all Verify Changed Files alternatives












