Skip to content

Auto PR to dev for release-integration branches #4

Auto PR to dev for release-integration branches

Auto PR to dev for release-integration branches #4

name: Auto PR to dev for release-integration branches
on:
create:
jobs:
create-pr:
if: >
github.event.ref_type == 'branch' &&
startsWith(github.event.ref, 'release-integration/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: dev
branch: ${{ github.event.ref }}
title: "Auto PR: ${{ github.event.ref }} → dev"
body: |
This is an automated pull request created to integrate release changes into **dev**.
Triggered when the branch **${{ github.event.ref }}** was published.