Update workflow again

This commit is contained in:
Lucas Gabriel 2025-04-11 11:54:36 -03:00
parent 906722e3d9
commit 90388f845c
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985

View File

@ -13,11 +13,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 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 <email> format) - name: Generate AUTHORS file (Name <email> format)
run: | run: |
git log --format='%aN <%aE>' | sort -u > AUTHORS git log --format='%aN <%aE>' | sort -u > AUTHORS
@ -30,7 +25,7 @@ jobs:
fi fi
- name: Commit and push changes - name: Commit and push changes
run: | uses: EndBug/add-and-commit@v9.1.4
git add AUTHORS add: "AUTHORS"
git commit -m "Update AUTHORS file automatically" default_author: github_actions
git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }} HEAD:main message: "Update AUTHORS file automatically"