From 99cc89ed84060271461a7639f2b9ff78121b0ab9 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Tue, 16 Jul 2024 22:28:46 +0100 Subject: [PATCH] Add git user to allow for commits --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 73240c5e..c32d6dad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -89,7 +89,10 @@ jobs: token: ${{ secrets.SHORTLINK_REPO_PAT }} - name: Update blog shortlinks working-directory: ./byjp.fyi - run: cat ../new_redirects | ../www.byjp.me/tools/redirects/update-shortlinks.bash + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + cat ../new_redirects | ../www.byjp.me/tools/redirects/update-shortlinks.bash - name: Build Gemini capsule working-directory: ./www.byjp.me