Skip to content

ci: add workflow to automatically create dev to main PRs #1

ci: add workflow to automatically create dev to main PRs

ci: add workflow to automatically create dev to main PRs #1

# Takaro merges feature branches into the development branch first
# and then merges the development branch into the main branch.
# This workflow automates the process of creating a pull request from the development branch to the main branch.
name: Create dev to main PR
on:
push:
branches:
- development
jobs:
mainPromotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Reset promotion branch
run: |
git fetch origin development:development
git reset --hard development
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: main-promotion
labels: skip-changelog