From 90388f845cfce675534bb5a18b05b53826be86c9 Mon Sep 17 00:00:00 2001 From: Luquinhas Date: Fri, 11 Apr 2025 11:54:36 -0300 Subject: [PATCH] Update workflow again --- .github/workflows/update-authors.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/update-authors.yml b/.github/workflows/update-authors.yml index 2d9a65e..0263eae 100644 --- a/.github/workflows/update-authors.yml +++ b/.github/workflows/update-authors.yml @@ -13,11 +13,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Set up Git config - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - - name: Generate AUTHORS file (Name format) run: | git log --format='%aN <%aE>' | sort -u > AUTHORS @@ -30,7 +25,7 @@ jobs: fi - name: Commit and push changes - run: | - git add AUTHORS - git commit -m "Update AUTHORS file automatically" - git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }} HEAD:main + uses: EndBug/add-and-commit@v9.1.4 + add: "AUTHORS" + default_author: github_actions + message: "Update AUTHORS file automatically"