Skip to content

⬆️ Bump picomatch from 2.3.1 to 2.3.2 #16

⬆️ Bump picomatch from 2.3.1 to 2.3.2

⬆️ Bump picomatch from 2.3.1 to 2.3.2 #16

Workflow file for this run

name: Dependabot
on:
push:
branches:
- 'dependabot/**'
jobs:
ci-image:
name: Changeset
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.ref }}
- name: Configure git
run: |
git config --local user.email "$(git log --pretty='%ae' -1)"
git config --local user.name "Dependabot[bot]"
git checkout ${{ github.event.pull_request.head.ref }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- name: Create a changeset
run: |
# Parse the dependency
commit_message=$(git show -s --format=%B ${{ github.event.pull_request.head.sha }} | head -1)
dependency_name=$(sed -nE 's/Bump (.*) from.*/\1/p' <(echo $commit_message))
changeset_file_path=$(npm run dependabot:changeset $commit_message $dependency_name)
- name: Commit
run: |
git add $changeset_file_path
git commit -m "[dependabot skip] Add changeset"
- name: Push changes back to branch
run: |
git push origin ${{ github.event.pull_request.head.ref }}