chore(deps-dev): bump picomatch from 2.3.1 to 2.3.2 #245
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Changeset Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| changeset-check: | |
| name: Check for Changeset | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check for changeset | |
| run: | | |
| # Skip changeset check for release PRs created by changesets/action | |
| if [[ "${{ github.head_ref }}" == changeset-release/* ]] || [[ "${{ github.event.pull_request.title }}" == "chore: version packages" ]]; then | |
| echo "⏭️ Skipping changeset check for release PR" | |
| exit 0 | |
| fi | |
| if [ -z "$(ls -A .changeset/*.md 2>/dev/null | grep -v README)" ]; then | |
| echo "❌ No changeset found. Please add a changeset by running 'npm run changeset'" | |
| echo "" | |
| echo "Changesets help track version changes and generate changelogs." | |
| echo "Run 'npm run changeset' and follow the prompts to create one." | |
| exit 1 | |
| else | |
| echo "✅ Changeset found" | |
| fi |