Skip to content

chore(deps): bump the workerd-and-workers-types group with 2 updates #4

chore(deps): bump the workerd-and-workers-types group with 2 updates

chore(deps): bump the workerd-and-workers-types group with 2 updates #4

name: "Miniflare - Generate changesets for dependabot PRs"
on:
pull_request_target:
paths:
- "packages/miniflare/package.json"
jobs:
generate-changeset:
runs-on: ubuntu-latest
if: |
github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_ACCESS_TOKEN }}
- uses: pnpm/action-setup@v2
with:
version: 8.8.0
- name: Use Node.js 16.18
uses: actions/setup-node@v3
with:
node-version: 16.18
cache: "pnpm"
- name: Install NPM Dependencies
run: pnpm install --frozen-lockfile
- name: Configure Git
run: |
git config --global user.email wrangler@cloudflare.com
git config --global user.name 'Wrangler automated PR updater'
- name: Generate Miniflare changesets
run: node -r esbuild-register tools/dependabot/generate-dependabot-pr-changesets.ts ${{ github.event.number }} miniflare packages/miniflare/package.json