README: updated papers #13
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Update README | |
| run: | | |
| # Your update script here | |
| sed -i 's/Last updated: .*/Last updated: '"$(date +'%Y-%m-%d')"'/' README.md | |
| - name: Commit changes | |
| run: | | |
| git config user.name "GitHub Actions Bot" | |
| git config user.email "<>" | |
| git add README.md | |
| git commit -m "Update README with latest date" || exit 0 | |
| git push |