Skip to content

Commit

Permalink
Add support for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Oct 18, 2024
1 parent b359b34 commit 04667c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/feat-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ jobs:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
GH_TOKEN: ${{ github.token }}
BODY: ${{ github.event.head_commit.message }}
steps:
- uses: actions/checkout@v4
- name: Create pull request
run: |
gh_pr_up() {
gh pr create --draft $* || gh pr edit $*
gh pr create --draft $* --body "${BODY}" || gh pr edit $* --body "${BODY}"
}
gh_pr_up --base master --title "${BRANCH_NAME}" --body "Description"
gh_pr_up --base master --title "${BRANCH_NAME}"

0 comments on commit 04667c1

Please sign in to comment.