You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
ChangesetsDependencies
v1.0.0
A GitHub Action for creating Changesets files for dependencies updates.
This 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.
Works great with Renovate and dependabot!
This Action only create Changeset files for the following:
- Packages that are under the monorepo/Workspace and not being ignored.
- Packages that are not marked as
private: true
. - Packages that are located in
dependencies
orpeerDependencies
. - Packages that are not ignored by
changesets
config.
Create a GitHub Actions workflow with the following:
name: dependencies
on: pull_request
jobs:
changeset:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create/Update Changesets
uses: "the-guild-org/changesets-dependencies-action@main"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}