Merge branch 'master' of https://github.com/louanfontenele/FactorioSa… #2
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Update README Links and Badges | |
run: | | |
bash .github/scripts/update-readme.sh | |
- name: Commit Changes | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "[email protected]" | |
git add README.md | |
git diff --quiet && git diff --staged --quiet || git commit -m "Update README with repository info" | |
git push |