{"id":18608797,"url":"https://github.com/the-guild-org/changesets-dependencies-action","last_synced_at":"2025-04-10T22:30:54.073Z","repository":{"id":52994656,"uuid":"521165289","full_name":"the-guild-org/changesets-dependencies-action","owner":"the-guild-org","description":"A GitHub Action for creating Changesets files for dependencies updates.","archived":false,"fork":false,"pushed_at":"2023-07-05T11:00:02.000Z","size":6078,"stargazers_count":27,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T22:36:36.046Z","etag":null,"topics":["action","actions","changesets","dependencies","github-action","github-actions","nodejs","npm","the-guild"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/changesetsdependencies","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/the-guild-org.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":"2022-08-04T07:22:39.000Z","updated_at":"2024-07-03T01:03:33.000Z","dependencies_parsed_at":"2024-09-26T20:25:54.195Z","dependency_job_id":"1640d6d9-a2af-4685-b3fb-146686d3ac8e","html_url":"https://github.com/the-guild-org/changesets-dependencies-action","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.023809523809523836","last_synced_commit":"f11b16181c79e07d62b112c2f32c9db534a9df09"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-guild-org%2Fchangesets-dependencies-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-guild-org%2Fchangesets-dependencies-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-guild-org%2Fchangesets-dependencies-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-guild-org%2Fchangesets-dependencies-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-guild-org","download_url":"https://codeload.github.com/the-guild-org/changesets-dependencies-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248309373,"owners_count":21082199,"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":["action","actions","changesets","dependencies","github-action","github-actions","nodejs","npm","the-guild"],"created_at":"2024-11-07T03:04:21.175Z","updated_at":"2025-04-10T22:30:52.656Z","avatar_url":"https://github.com/the-guild-org.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# changesets-dependencies-action\n\nA GitHub Action for creating Changesets files for dependencies updates.\n\nThis action will automatically monitor all your PRs, and find changes in `package.json` files. Then it creates/updates a `changeset` file, and commits it to your PR.\n\n\u003e Works great with Renovate and dependabot!\n\nThis Action only create Changeset files for the following:\n\n- Packages that are under the monorepo/Workspace and not being ignored.\n- Packages that are not marked as `private: true`.\n- Packages that are located in `dependencies` or `peerDependencies`.\n- Packages that are not ignored by `changesets` config.\n\n## Features\n\n- Automatic Changesets based on changes in `package.json`\n- Smart `semver` inference and links to NPM\n- Integration with Prettier (for the created YAML file)\n- Flexible CI execution (depends on token, see below)\n\n## Usage (with default token)\n\nCreate a GitHub Actions workflow with the following:\n\n```yaml\nname: dependencies\non: pull_request\njobs:\n  changeset:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Create/Update Changesets\n        uses: \"the-guild-org/changesets-dependencies-action@v1.1.0\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Usage (with custom token)\n\n**Note: using `secrets.GITHUB_TOKEN` will not trigger CI again.**\n\nIf you wish that the created commit will also trigger CI, you must create a custom PAT from any regular GitHub user ([instructions here](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)).\n\nThen, add it to your repository `Secrets` with a custom name (`MY_GH_TOKEN` in this example. Then, configure the `checkout` action as below and use the custom token for this action:\n\n```yaml\nname: dependencies\non: pull_request\njobs:\n  changeset:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.MY_GH_TOKEN }} # use it here\n\n      - name: Create/Update Changesets\n        uses: \"the-guild-org/changesets-dependencies-action@v1.1.0\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.MY_GH_TOKEN }} # and also here\n```\n\n\u003e The created commit will still appear as `github-actions-bot`, but this time it will run CI ;)\n\n### Inputs\n\nYou may also set `preCommit` configuration with a custom script, if you wish to run a script before committing the actual files. This is useful if you want to run custom liting/prettier workflows.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-guild-org%2Fchangesets-dependencies-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-guild-org%2Fchangesets-dependencies-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-guild-org%2Fchangesets-dependencies-action/lists"}