Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.38 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.38 KB

Changeset Action

Automate adding a changeset for simple pull requests

About

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.

Usage

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/[email protected]
      - name: Commit Changes
        uses: generates/[email protected]
        with:
          token: ${{ secrets.GH_PAT }}

License

Hippocratic License - See LICENSE

 

Created by Ian Walter