From 91d7cde609999582a22524d2b5c482afa9eb3e03 Mon Sep 17 00:00:00 2001 From: Thalia Archibald Date: Mon, 14 Oct 2024 14:46:06 -0700 Subject: Set authenticated remote in workflow --- .github/workflows/linearize.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linearize.yml b/.github/workflows/linearize.yml index f83a0d54..76345f4c 100644 --- a/.github/workflows/linearize.yml +++ b/.github/workflows/linearize.yml @@ -15,6 +15,7 @@ jobs: fetch-depth: 0 # Fetch the full history - name: Construct linear history and push to linear branch run: | + git remote set-url origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git git config user.name 'GitHub Action' git config user.email 'actions@github.com' .github/workflows/linearize.sh -- cgit v1.2.3