{"id":48029494,"url":"https://github.com/amezin/detect-changes-action","last_synced_at":"2026-04-04T13:54:04.868Z","repository":{"id":334101524,"uuid":"1140062495","full_name":"amezin/detect-changes-action","owner":"amezin","description":"  Check whether any files matching the specified glob pattern(s) were changed in a pull request or push (or between two arbitrary commits)","archived":false,"fork":false,"pushed_at":"2026-03-13T17:49:17.000Z","size":3202,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-14T05:53:23.407Z","etag":null,"topics":["action","actions","github-action","github-actions","github-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amezin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-22T19:24:34.000Z","updated_at":"2026-02-13T23:33:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/amezin/detect-changes-action","commit_stats":null,"previous_names":["amezin/detect-changes-action"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/amezin/detect-changes-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amezin%2Fdetect-changes-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amezin%2Fdetect-changes-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amezin%2Fdetect-changes-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amezin%2Fdetect-changes-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amezin","download_url":"https://codeload.github.com/amezin/detect-changes-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amezin%2Fdetect-changes-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","github-action","github-actions","github-api"],"created_at":"2026-04-04T13:54:04.277Z","updated_at":"2026-04-04T13:54:04.863Z","avatar_url":"https://github.com/amezin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detect changes\n\nCheck whether files matching the specified glob patterns were changed\nin a pull request or push (or between two arbitrary commits).\n\nThis action uses GitHub API and not `git` CLI,\nso it won't work for local commits that weren't pushed to GitHub.\n\nIntended use: skip jobs or steps if relevant files were not changed.\n\n## Inputs\n\n### `repository`\n\nThe owner and repository name, in `owner/name` format.\n\n**Default**: `${{ github.repository }}` -\nthe repository where the workflow was triggered.\n\n### `files`\n\nFile path/name glob patterns to check, one pattern per line.\nNo default value. Required input.\n\nPatterns starting with `!` exclude files.\nLast matched pattern determines whether to include or exclude the file.\n\nOnly files are matched. To include directories, use `dir/**` syntax.\n\nOnly Unix path separator `/` is used, even on Windows.\n\nSee [minimatch](https://www.npmjs.com/package/minimatch) documentation\nfor syntax details.\n\n### `base`\n\nBase commit/branch to compare.\n\n**Default**: Pull request/merge group base branch/commit.\nOr the previous branch head for `push` event.\n\n### `head`\n\nHead commit/branch to compare.\n\n**Default**: `${{ github.event.pull_request.merge_commit_sha }}` for `pull_request_target` event,\notherwise `${{ github.sha }}` - the \"current commit\" or merge commit for pull requests.\n\n\u003e [!NOTE]\n\u003e There is a special case for `pull_request_target` event -\n\u003e because `${{ github.sha }}` will be the head of the base branch for `pull_request_target`.\n\n### `ignore-removed`\n\nIgnore removed files - return `false` if all changes are just removals.\n\n**Default**: `false`\n\n### `github-token`\n\nGitHub API token to use.\n\n**Default**: `${{ github.token }}`\n\n## Outputs\n\n### `changed`\n\n`true` if a change in `files` was detected, `false` otherwise.\n\nThere is no output with a file list, because GitHub API can return\nan incomplete list of changed files (it returns up to 300 files) - see\nhttps://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#compare-two-commits.\n\nWhen an incomplete list is detected, `changed` is always set to `true`,\neven if the list doesn't contain any file matching `files` input.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famezin%2Fdetect-changes-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famezin%2Fdetect-changes-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famezin%2Fdetect-changes-action/lists"}