Skip to content

Update dependency org.apache.maven:maven-model to v3.9.5 (#135) #174

Update dependency org.apache.maven:maven-model to v3.9.5 (#135)

Update dependency org.apache.maven:maven-model to v3.9.5 (#135) #174

Workflow file for this run

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