Skip to content

auto-pr

auto-pr #286

Workflow file for this run

name: auto-pr
on:
create
jobs:
create-pr:
if: github.ref_type == 'branch'
runs-on: ubuntu-latest
steps:
-
name: Checkout Branch ${{ github.ref_name }}
uses: actions/checkout@v4
-
name: Create Pull Request
run: gh pr create -B main --title "${{ github.ref_name }}" --body "Merging branch to create ${{ github.ref_name }}."
env:
GITHUB_TOKEN: ${{ secrets.PAT }}