Skip to content

Commit 36d58bb

Browse files
authored
ci: enforce addition of changesets (#206)
1 parent 5aa5933 commit 36d58bb

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14+
check-changeset:
15+
name: Check changeset
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Setup
24+
uses: ./.github/actions/setup
25+
26+
- name: Check changeset
27+
if: github.ref != 'refs/heads/main'
28+
run: yarn changeset status --since=origin/${{ github.base_ref }}
29+
1430
build-lint:
1531
name: Build & static code analysis
1632
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)