Skip to content

Commit 922d20a

Browse files
author
Di Wu
authored
ci: add github workflow for release (#16)
1 parent 4932bd5 commit 922d20a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release-kickoff.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release new version
2+
3+
on:
4+
workflow_dispatch
5+
6+
permissions:
7+
pull-requests: write
8+
9+
jobs:
10+
release:
11+
name: Release
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
16+
- name: Create PR to push main to release branch
17+
env:
18+
GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}
19+
run: "gh pr create --title 'chore: kickoff release' --body 'kickoff release' --head main --base release"

0 commit comments

Comments
 (0)