From a47f6c83c34a5324da7e37595ac5e322d1776f1d Mon Sep 17 00:00:00 2001 From: Nathan Nowack Date: Fri, 5 Jan 2024 19:33:11 -0600 Subject: [PATCH] try --- .github/workflows/pr_views_to_core.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_views_to_core.yml b/.github/workflows/pr_views_to_core.yml index 86080d7b..0d86ba65 100644 --- a/.github/workflows/pr_views_to_core.yml +++ b/.github/workflows/pr_views_to_core.yml @@ -30,9 +30,8 @@ jobs: curl -o $TARGET_FILE_PATH $SOURCE_REPO_URL - git config --global user.email "marvin@prefect.io" - git config --global user.name "marvin-robot" - git remote set-url origin https://x-token-auth:$GITHUB_TOKEN@github.com/prefecthq/prefect.git && + gh auth login --with-token <<< $GITHUB_TOKEN + git remote set-url origin https://github.com/prefecthq/prefect.git && git checkout -b $NEW_BRANCH git add $TARGET_FILE_PATH git commit -m "Update aggregate-worker-metadata.json"