mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-04-28 17:15:57 +00:00
Update workflow again
This commit is contained in:
parent
906722e3d9
commit
90388f845c
13
.github/workflows/update-authors.yml
vendored
13
.github/workflows/update-authors.yml
vendored
@ -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 <email> 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user