{"id":48050561,"url":"https://github.com/fabidick22/detect-changes-action","last_synced_at":"2026-04-04T14:21:21.305Z","repository":{"id":37828426,"uuid":"502797819","full_name":"fabidick22/detect-changes-action","owner":"fabidick22","description":"Action to get paths and files changed in a Pull Request event and use these for GitHub Actions matrix","archived":false,"fork":false,"pushed_at":"2023-06-19T16:33:17.000Z","size":199,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-10T20:08:55.415Z","etag":null,"topics":["actions","detect-changes","github-actions","matrix","pull-requests"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/detect-pr-changes","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabidick22.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-13T03:52:21.000Z","updated_at":"2026-01-17T07:09:18.000Z","dependencies_parsed_at":"2023-01-17T17:01:44.470Z","dependency_job_id":null,"html_url":"https://github.com/fabidick22/detect-changes-action","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.11363636363636365","last_synced_commit":"7f335e71136be6d4cc030a0ad67d17e524fc38d1"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/fabidick22/detect-changes-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabidick22%2Fdetect-changes-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabidick22%2Fdetect-changes-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabidick22%2Fdetect-changes-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabidick22%2Fdetect-changes-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabidick22","download_url":"https://codeload.github.com/fabidick22/detect-changes-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabidick22%2Fdetect-changes-action/sbom","scorecard":{"id":389868,"data":{"date":"2025-08-11","repo":{"name":"github.com/fabidick22/detect-changes-action","commit":"7f335e71136be6d4cc030a0ad67d17e524fc38d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-app.yml:1","Warn: no topLevel permission defined: .github/workflows/cd-semver.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-docs.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-metadata.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-app.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/build-app.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-app.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/build-app.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cd-semver.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/cd-semver.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cd-semver.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/cd-semver.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cd-semver.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/cd-semver.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-docs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/ci-docs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-docs.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/ci-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-metadata.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/pr-metadata.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-metadata.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/fabidick22/detect-changes-action/pr-metadata.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci-docs.yml:17","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T17:33:17.273Z","repository_id":37828426,"created_at":"2025-08-18T17:33:17.273Z","updated_at":"2025-08-18T17:33:17.273Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402345,"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":["actions","detect-changes","github-actions","matrix","pull-requests"],"created_at":"2026-04-04T14:21:21.098Z","updated_at":"2026-04-04T14:21:21.267Z","avatar_url":"https://github.com/fabidick22.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# detect-changes-action\n\nAction to get paths and files changed in a Pull Request event and use these for [GitHub Actions matrix](https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs)\n\n## Available Features\n- Get list of directories changed in a PR\n- Get list of files changed in a PR\n\n## Usage\n\u003cdetails\u003e\u003csummary\u003e\u003cstrong\u003e Get a list of paths to use in a matrix of jobs (v1)\u003c/strong\u003e\u003c/summary\u003e\n\n```yaml\nname: 'PR Detect changes'\non:\n  pull_request:\n    types: [synchronize, opened, reopened, labeled]\n    branches:\n      - main\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    outputs:\n      packages: ${{ steps.filter.outputs.paths_changed }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Annotate PR\n        id: filter\n        uses: fabidick22/detect-changes-action@v1\n        with:\n          path: \"modules/\"\n\n  build:\n    needs: changes\n    strategy:\n      matrix:\n        package: ${{ fromJSON(needs.changes.outputs.packages) }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo '${{ matrix.package }}'\n```\n\u003c/details\u003e\n\n\u003c!-- action-docs-inputs --\u003e\n## Inputs\n\n| parameter | description | required | default |\n| - | - | - | - |\n| path | Path | `false` | ./ |\n| token | The token to use to access the GitHub API | `false` | ${{ github.token }} |\n\n\n\n\u003c!-- action-docs-inputs --\u003e\n\n\u003c!-- action-docs-outputs --\u003e\n## Outputs\n\n| parameter | description |\n| - | - |\n| paths_list | List of changed paths, example: `[\"dist\", \"dist/data\"]` |\n| file_list | List of changed files, example: `[\"dist/main.tf\", \"dist/index.js\"]` |\n| paths_str | List of changed paths separated by `,` example: `\"dist,dist/data\"` |\n| file_str | List of changed files separated by `,` example: `\"dist/main.tf,dist/index.js\"` |\n\n\n\n\u003c!-- action-docs-outputs --\u003e\n\n\u003c!-- action-docs-runs --\u003e\n## Runs\n\nThis action is a `node16` action.\n\n\n\u003c!-- action-docs-runs --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabidick22%2Fdetect-changes-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabidick22%2Fdetect-changes-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabidick22%2Fdetect-changes-action/lists"}