diff --git a/.github/workflows/update-test-repos.yml b/.github/workflows/update-test-repos.yml index 6ab364b6..8622519b 100644 --- a/.github/workflows/update-test-repos.yml +++ b/.github/workflows/update-test-repos.yml @@ -18,8 +18,8 @@ jobs: with: ref: next - uses: actions/setup-node@v4 - - run: git config user.email "update-test-repos@example.com" - - run: git config user.name "update-test-repos.yml" + - run: git config user.email "david@dlaa.me" + - run: git config user.name "David Anson" - run: git checkout -b update-test-repos-$GITHUB_RUN_ID - run: npm install - run: npm run update-test-repos @@ -29,3 +29,6 @@ jobs: - run: git add . - run: git commit -m "Update test repo snapshots." - run: git push --set-upstream origin update-test-repos-$GITHUB_RUN_ID + - run: gh pr create --base next --body "" --title "Update test repo snapshots." --draft + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}