Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Workflow file for this run

name: Auto Create Pull Request
on:
push:
branches-ignore:
- main
jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Pull Request
run: |
gh pr create \
-B main \
-H ${{ github.ref_name }} \
--title "Auto PR: ${{ github.ref_name }} -> main" \
--body "This is an automated pull request created from the branch ${{ github.ref_name }}.
Changes in this PR:
${{ github.event.head_commit.message }}"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}