Skip to content

Commit

Permalink
feat: ブランチを明示的に作成するコマンドを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
totto2727 committed Apr 23, 2024
1 parent c6f6fcb commit 08da92c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/playwright-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git switch -c update-screenshots/${GITHUB_REF}
git commit -m "test: update screenshots. ${GITHUB_REF}"
# 対象のブランチへ画像を更新したブランチからPRを発行
- name: Create PR
run: gh pr create --base ${GITHUB_REF} --head update-screenshots/${GITHUB_REF} --title "update-screenshots ${GITHUB_REF}" --body ""
run: gh pr create --base ${GITHUB_REF} --title "update-screenshots ${GITHUB_REF}" --body ""

0 comments on commit 08da92c

Please sign in to comment.