Skip to content

Commit

Permalink
add create-release-pull-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
odanado committed Oct 25, 2024
1 parent b192a9d commit 8656cb5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/create-release-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 }}

0 comments on commit 8656cb5

Please sign in to comment.