diff --git a/.github/workflows/playwright-update.yml b/.github/workflows/playwright-update.yml index 2e84724..d3dfa9b 100644 --- a/.github/workflows/playwright-update.yml +++ b/.github/workflows/playwright-update.yml @@ -30,7 +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}" + git push origin update-screenshots/${GITHUB_REF} # 対象のブランチへ画像を更新したブランチからPRを発行 - name: Create PR