Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <fg@frang.io>
29 lines
659 B
YAML
29 lines
659 B
YAML
name: changeset
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- labeled
|
|
- unlabeled
|
|
|
|
concurrency:
|
|
group: changeset-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-changeset') }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # Include history so Changesets finds merge-base
|
|
- name: Set up environment
|
|
uses: ./.github/actions/setup
|
|
- name: Check changeset
|
|
run: npx changeset status --since=origin/${{ github.base_ref }}
|