From 1f0c97743a05dc4a96d1bc8b91c98ee5c2896063 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Sun, 9 Jul 2023 15:13:22 +0200 Subject: [PATCH] GH Action: Set git config (#8866) --- .github/workflows/publish-canary.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index d5fe93b60748..f0a95102b7bb 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -117,11 +117,15 @@ jobs: cat packages/create-redwood-app/templates/ts/web/package.json echo "" + git config user.name "GitHub Actions" + git config user.email "<>" + git commit -am "Update create-redwood-app templates to use canary packages" git log --oneline -n 10 - git push + echo "Pushing to $GITHUB_REF_NAME" + git push origin "$GITHUB_REF_NAME" args+=(--yes) yarn lerna publish "${args[@]}"