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
|
- 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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user