更新大物高数 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Thanks! | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@main | |
- name: Update README | |
run: | | |
echo "> - 感谢 [@${{ github.event.head_commit.author.name }}](https://github.com/${{ github.event.head_commit.author.name }}) ${{ github.event.pull_request.title }}" >> README.md | |
- name: Commit and Push Changes | |
run: | | |
git config user.name "Jiahuan-bot" | |
git config user.email "[email protected]" | |
git add README.md | |
git commit -m "[salute]Thanks for pr from @${{ github.event.head_commit.author.name }} " | |
git push |