-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (35 loc) · 1.1 KB
/
prepare-stable.yml
File metadata and controls
40 lines (35 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Prepare Stable Release
on:
workflow_dispatch:
inputs:
title:
description: 'PR title'
required: true
default: 'chore: prepare stable release'
jobs:
create-stable-pr:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GH_TOKEN }}
branch: prepare-stable-release
base: stable
title: ${{ github.event.inputs.title }}
body: |
This PR prepares a new stable release by merging changes from `main` into `stable`.
After merging:
1. The release workflow will automatically run
2. A new stable version will be published to npm
3. Release notes will be generated
Please review the changes carefully before merging.
labels: release