commit 7dd33a34a1c3f8c72a9f53e5e2f67f3a7125cd6c parent d58bf538ae277f192b1fc6b94223213108781a50 Author: finwo <finwo@pm.me> Date: Sun, 19 Feb 2023 21:28:56 +0100 Configure git in the v1.0 workflow Diffstat:
| M | .github/workflows/update-v1.0.yml | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/update-v1.0.yml b/.github/workflows/update-v1.0.yml @@ -9,4 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - run: git config --global user.name $(git log -1 --pretty=format:'%an') + - run: git config --global user.email $(git log -1 --pretty=format:'%ae') + - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - run: scripts/build-tag.sh v1.0