coquer/Root-level directory diff action
Compares two refs via GitHub API and returns unique top-level directories with changes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 18, 2026
- License
- Public domain
Pinned Snippet
uses: coquer/commit-diff@d2a060a47d8b3640a70ee02f2cfebae43a3d785d # v1.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| base | Base ref (branch, tag, commit sha) | yes | — |
| head | Head ref (branch, tag, commit sha) | yes | — |
| repository | GitHub repository in the format owner/repo | yes | — |
| token | GitHub token with repo scope (defaults to GITHUB_TOKEN if not provided) | no | "" |
Outputs
| name | description |
|---|---|
| changed-dirs | JSON string: { "changed_dirs": ["dir1", "dir2", ...] } |