{"id":24819027,"url":"https://github.com/nitive/get-changed-files","last_synced_at":"2025-03-25T20:37:41.392Z","repository":{"id":36981388,"uuid":"358869354","full_name":"Nitive/get-changed-files","owner":"Nitive","description":"GitHub Actions to get changes files","archived":false,"fork":false,"pushed_at":"2024-01-31T10:49:33.000Z","size":675,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T22:33:13.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Nitive.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-04-17T12:09:46.000Z","updated_at":"2022-05-20T15:45:26.000Z","dependencies_parsed_at":"2024-01-31T11:52:07.279Z","dependency_job_id":null,"html_url":"https://github.com/Nitive/get-changed-files","commit_stats":{"total_commits":33,"total_committers":5,"mean_commits":6.6,"dds":0.6666666666666667,"last_synced_commit":"8411d37a225aa9b209949166ce1c8d5a503237bc"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitive%2Fget-changed-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitive%2Fget-changed-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitive%2Fget-changed-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitive%2Fget-changed-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nitive","download_url":"https://codeload.github.com/Nitive/get-changed-files/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245541359,"owners_count":20632294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-30T17:55:59.289Z","updated_at":"2025-03-25T20:37:41.355Z","avatar_url":"https://github.com/Nitive.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/Nitive/get-changed-files/actions/workflows/build-test.yaml\"\u003e\u003cimg alt=\"get-changed-files status\" src=\"https://github.com/Nitive/get-changed-files/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Nitive/get-changed-files/actions/workflows/e2e-test.yaml\"\u003e\u003cimg alt=\"get-changed-files status\" src=\"https://github.com/Nitive/get-changed-files/workflows/e2e-test/badge.svg\"\u003e\u003c/a\u003e\n\n# get-changed-files action\n\nA GitHub action to get changed in PR or after push actions. It should be used to create build matrix in monorepos to run tests on changed files only.\n\n## Example\n\n```yaml\njobs:\n  produce-packages-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      files: ${{ steps.produce-matrix.outputs.files }}\n      empty: ${{ steps.produce-matrix.outputs.empty }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Produce packages matrix from folder structure\n        id: produce-matrix\n        uses: Nitive/get-changed-files@v2\n        with:\n          files: |\n            packages/*/\n\n  package-lint:\n    needs: produce-packages-matrix\n    if: ${{ needs.produce-packages-matrix.outputs.empty == 'false' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        package: ${{ fromJson(needs.produce-packages-matrix.outputs.files) }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Lint package\n        id: working-directory\n        run: make lint\n        working-directory: ${{ matrix.package }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitive%2Fget-changed-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitive%2Fget-changed-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitive%2Fget-changed-files/lists"}