Skip to content

Commit

Permalink
ghを作成する
Browse files Browse the repository at this point in the history
  • Loading branch information
eatski committed Aug 8, 2024
1 parent 6c6b43d commit 1c8da2e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install GitHub CLI
run: sudo npm install -g @githubnext/github

- name: Fetch all branches
run: git fetch --all
Expand All @@ -33,11 +35,5 @@ jobs:
- name: Create Pull Request
if: steps.check_diff.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: 'Update production branch'
body: 'This PR updates the production branch with changes from the main branch.'
draft: false
base: production
branch: release
run: |
gh pr create --title "Update production branch" --body "This PR updates the production branch with changes from main." --base production --head main --label "automerge"

0 comments on commit 1c8da2e

Please sign in to comment.