Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Oct 18, 2024
1 parent 0375aac commit b359b34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/feat-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ jobs:
build:
needs: test
runs-on: ubuntu-latest

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Create pull request
run: |
gh_pr_up() {
gh pr create --draft $* --template ".github/pull_request.md" || gh pr edit $*
gh pr create --draft $* || gh pr edit $*
}
gh_pr_up --base master --title "${BRANCH_NAME}" --body "Description"

0 comments on commit b359b34

Please sign in to comment.