diff --git a/.changeset/add-skip-changeset-label.md b/.changeset/add-skip-changeset-label.md new file mode 100644 index 0000000..656b6d9 --- /dev/null +++ b/.changeset/add-skip-changeset-label.md @@ -0,0 +1,9 @@ +--- +"@offckb/cli": patch +--- + +Add skip-changeset label support to changeset-check CI workflow + +PRs with the 'skip-changeset' label will now bypass the changeset requirement. +This is useful for documentation, CI, and refactoring changes that don't need +a changelog entry. diff --git a/.changeset/perky-rooms-tan.md b/.changeset/perky-rooms-tan.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/perky-rooms-tan.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.github/workflows/changeset-check.yml b/.github/workflows/changeset-check.yml index 2564fc1..8040b40 100644 --- a/.github/workflows/changeset-check.yml +++ b/.github/workflows/changeset-check.yml @@ -8,6 +8,8 @@ jobs: changeset: name: Require changeset runs-on: ubuntu-latest + # Skip changeset check for PRs with 'skip-changeset' label + if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-changeset') }} steps: - name: Checkout repository