Merge pull request #130 from AnataAria/vinh #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |