Skip to content

vinh/push document #299

vinh/push document

vinh/push document #299

name: Create Pull Request
on:
push:
branches:
- '*'
jobs:
create-pr:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, 'create pr')
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: 'Automated PR from ${{ github.ref }}'
branch: ${{ github.ref }}
base: 'main' # Change this to the target branch
body: 'Automatically created PR from a GitHub Action.'
labels: 'automated-pr'