Update dependency info.picocli:picocli-codegen to v4.7.5 #155
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: README stats update | |
on: [push] | |
jobs: | |
update_readme: | |
if: github.actor!= 'renovate[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Update README stats | |
run: | | |
source scripts/calculate_stats.sh | |
awk -v var="$STATS" '/## Stats/{print var; p=1} !p' README.md > temp | |
if cmp -s README.md temp; then | |
echo "README not updated." | |
else | |
mv temp README.md | |
echo "README has changed and therefore pushing the changes to git." | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config user.name "github-actions[bot]" | |
git commit -am "Automated stats update" | |
git push | |
fi |