{"id":16426608,"url":"https://github.com/andrebraghini/nx-affected-test","last_synced_at":"2025-07-31T13:04:13.076Z","repository":{"id":38598781,"uuid":"243071949","full_name":"andrebraghini/nx-affected-test","owner":"andrebraghini","description":"Test for @newl/nx issue #2170 ","archived":false,"fork":false,"pushed_at":"2023-10-11T01:20:14.000Z","size":354,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T03:26:31.637Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrebraghini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-02-25T18:34:16.000Z","updated_at":"2020-04-29T19:36:12.000Z","dependencies_parsed_at":"2024-11-10T12:46:49.757Z","dependency_job_id":"59954c03-8c55-4f15-aac3-f3ce7014e12d","html_url":"https://github.com/andrebraghini/nx-affected-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrebraghini/nx-affected-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebraghini%2Fnx-affected-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebraghini%2Fnx-affected-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebraghini%2Fnx-affected-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebraghini%2Fnx-affected-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrebraghini","download_url":"https://codeload.github.com/andrebraghini/nx-affected-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebraghini%2Fnx-affected-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268043878,"owners_count":24186504,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T08:09:41.751Z","updated_at":"2025-07-31T13:04:13.038Z","avatar_url":"https://github.com/andrebraghini.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nx-affected-test\n\nThis is an example that simulates the case bwlow:\n\n[nx affected:apps fails with error fatal: Not a valid object name master](https://github.com/nrwl/nx/issues/2170)\n\n## Steps\n\n1. This project was generated using [Nx](https://nx.dev) cli: `npx create-nx-workspace@latest myworkspace`\n\n2. After that I created the [./.github/workflows/nodejs.yml](./.github/workflows/nodejs.yml#L24) file for Github Actions with the command `npm run affected:apps` that calls `nx affected:apps`.\n\n3. Then I created a new branch `new-branch-example` and push to the server.\n\n* The [master action](https://github.com/DedoxBR/nx-affected-test/runs/467941766?check_suite_focus=true) worked normally but the [branch action](https://github.com/DedoxBR/nx-affected-test/runs/467947195?check_suite_focus=true) doesn't.\n\n* It fails with error: `fatal: Not a valid object name master`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrebraghini%2Fnx-affected-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrebraghini%2Fnx-affected-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrebraghini%2Fnx-affected-test/lists"}