Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Apr 15, 2024
1 parent 2e0b152 commit 53d73bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/auto-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Auto create Pull Request

on:
push:
branches:
Expand All @@ -21,6 +23,7 @@ jobs:
- uses: actions/checkout@v3
- name: Create Pull Request
run: |
echo $GITHUB_REF
prefix=$(echo $GITHUB_REF | cut -d '/' -f 3)
branch_name=$(echo $GITHUB_REF | cut -d '/' -f 4- | tr '-' ' ')
GH_TOKEN=${{ secrets.GH_TOKEN }} gh pr create --title "${branch_type}: ${branch_name}" --body "Description"

0 comments on commit 53d73bd

Please sign in to comment.