-
Notifications
You must be signed in to change notification settings - Fork 10
32 lines (28 loc) · 1 KB
/
auto-pr.yaml
File metadata and controls
32 lines (28 loc) · 1 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
name: Automatic draft PR
on:
push:
branches:
- feature/**
- fix/**
- feat/**
- chore/**
jobs:
auto-pull-request:
name: Create or update draft pull request
runs-on: ubuntu-latest
steps:
- name: Create or update pull request
id: create-pr
uses: vsoch/pull-request-action@1.0.19
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
PASS_ON_ERROR: true
PULL_REQUEST_UPDATE: false
PULL_REQUEST_DRAFT: true
PULL_REQUEST_ASSIGNEES: ${{ github.actor }}
PULL_REQUEST_BRANCH: main
PULL_REQUEST_TITLE: '${{ github.ref_name }}: Merge into main'
PULL_REQUEST_BODY: |
> This PR is auto created, please update PR Title and body as per your need.
## Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.