diff --git a/.github/workflows/playwright-update.yml b/.github/workflows/playwright-update.yml index 2e84724..34866af 100644 --- a/.github/workflows/playwright-update.yml +++ b/.github/workflows/playwright-update.yml @@ -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 ""