Automate adding a changeset for simple pull requests
This action works with the changesets versioning tool to allow you to automate the creation of changesets typically for automated code creation tools like renovate or dependabot that keep your dependencies up-to-date. You can also use it to manually add a changeset by providing inputs without having to use the changesets CLI.
See the action being used in this repository.
name: Changeset on: pull_request: types: [labeled] jobs: changeset: runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Changeset uses: generates/changeset-action@v3.0.0 - name: Commit Changes uses: generates/commit-action@v1.0.1 with: token: ${{ secrets.GH_PAT }}
Hippocratic License - See LICENSE
Created by Ian Walter