Skip to content

Commit

Permalink
add merge release back to main action
Browse files Browse the repository at this point in the history
  • Loading branch information
ProKil committed Jul 20, 2024
1 parent ff58645 commit 37ccb7b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/merge-release-to-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Merge Release Into Main

on:
workflow_dispatch:
push:
branches:
- 'release'

jobs:
main:
name: Create PR Release to Main
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: create pull request
id: open-pr
uses: repo-sync/pull-request@v2
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
destination_branch: ${{ github.event.repository.default_branch }}
pr_title: "[Automated] Merge ${{ github.ref_name }} into ${{ github.event.repository.default_branch }}"
pr_body: "Automated Pull Request"
pr_reviewer: "ProKil"
pr_assignee: "ProKil"

0 comments on commit 37ccb7b

Please sign in to comment.