diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2024-10-14 14:46:06 -0700 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2024-10-14 15:02:18 -0700 |
| commit | 91d7cde609999582a22524d2b5c482afa9eb3e03 (patch) | |
| tree | be0ab153d45ff6808816cd6726200aa485b6b486 /.github/workflows/linearize.yml | |
| parent | eb18b6eab34d71a9041030959473c1ec0409c170 (diff) | |
| download | Simple-91d7cde609999582a22524d2b5c482afa9eb3e03.tar.gz Simple-91d7cde609999582a22524d2b5c482afa9eb3e03.zip | |
Set authenticated remote in workflow
Diffstat (limited to '.github/workflows/linearize.yml')
| -rw-r--r-- | .github/workflows/linearize.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
