-
Notifications
You must be signed in to change notification settings - Fork 273
43 lines (43 loc) · 1.14 KB
/
auto-pr-to-main.yml
File metadata and controls
43 lines (43 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Create Feature Branch -> Main Pull Request
on:
push:
branches:
- feature/*
- feat/*
- chore/*
- patch/*
- fix/*
- bug/*
- task/*
- story/*
- claudio/*
- mariano/*
- lewis/*
- COMP-*
- cursor/*
- codex/*
- chas/*
jobs:
create-pull-request:
runs-on: warp-ubuntu-latest-arm64-4x
continue-on-error: true
permissions:
pull-requests: write
contents: write
issues: write
steps:
- name: Add permissions
run: git config --global --add safe.directory /github/workspace
- name: Check out epository code
uses: actions/checkout@v3
- name: Create pull request
if: ${{ success() }}
uses: repo-sync/pull-request@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
destination_branch: 'main'
pr_title: '[dev] [${{ github.actor }}] ${{ github.ref_name }}'
pr_label: 'automated-pr'
pr_body: |
This is an automated pull request to merge ${{ github.ref_name }} into dev.
It was created by the [Auto Pull Request] action.