Skip to content

Fix a bug of release flow #6

Fix a bug of release flow

Fix a bug of release flow #6

name: Create Release Pull Request
on:
push:
branches:
- main
jobs:
create-release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
- name: Build
run: go build -v ./...
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- run: ./git-pr-release-go --from main --to release/cli
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}