Skip to content

Update pull-request.yml #2

Update pull-request.yml

Update pull-request.yml #2

Workflow file for this run

name: Auto PR - Submission
on:
push:
branches:
- tool/*
jobs:
pull-request:
name: Open PR to main
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Open or update PR
env:
GH_TOKEN: ${{ github.token }}
run: |
gh_pr_up() { IFS=$'\n'; gh pr create $* || gh pr edit $*; }
gh_pr_up --title "Automatic PR" --body "New tool added."