Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored Dec 28, 2023
1 parent d332084 commit 5b67d7f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Create Release Branch

on:
workflow_dispatch:
inputs:
version:
description: "The version you want to release."
required: true

jobs:
create-release-branch:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install
run: |
yarn install
- uses: Wuerike/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_version: ${{ github.event.inputs.version }}
origin_branch: develop
target_branch: master
as_draft: false
push_tag: true
pr_template: "PR opened by [standard-version-release-branch](https://github.com/Wuerike/standard-version-release-branch)"

0 comments on commit 5b67d7f

Please sign in to comment.