Skip to content

Commit

Permalink
ci: use create-pull-request action
Browse files Browse the repository at this point in the history
  • Loading branch information
zachstence committed Nov 13, 2024
1 parent ff895b6 commit 9091dec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cut-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Compute branch name
id: branch_name
run: echo "branch_name=release-$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
- name: Create release branch
run: |
git checkout -b ${{ steps.branch_name.outputs.branch_name }}
git push -u origin ${{ steps.branch_name.outputs.branch_name }}
- name: Create pull request
run: gh pr --base main --head ${{ steps.branch_name.outputs.branch_name }}}} --title "Release ${{ steps.branch_name.outputs.branch_name }}"
uses: peter-evans/create-pull-request@v7
with:
branch: ${{ steps.branch_name.outputs.branch_name }}
base: main
title: "Release ${{ steps.branch_name.outputs.branch_name }}"

0 comments on commit 9091dec

Please sign in to comment.