Update README #526
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: Update README | |
on: | |
schedule: | |
- cron: '0 5,7,11 * * *' # Runs at 10:00 and 12:00 every day | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Add a space at the end of README.md | |
run: | | |
echo ' ' >> README.md | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
message: 'Add a space at the end of README.md' | |
add: 'README.md' | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
branch: 'main' # Replace with your default branch if it's not 'main' |