Skip to content

chore(scripts/release): pass branch to gh pr edit #21

chore(scripts/release): pass branch to gh pr edit

chore(scripts/release): pass branch to gh pr edit #21

Workflow file for this run

name: Release PR
on:
push:
branches:
- main
- release-workflow
jobs:
create-pr:
name: Create release PR
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org/"
cache: npm
- name: "Setup git"
run: |
git config user.email [email protected]
git config user.name mdn-bot
- name: Install
run: npm ci
- name: Release
run: npm run release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}