diff --git a/.github/workflows/automate-git-stats.yml b/.github/workflows/automate-git-stats.yml index 553241c0..b2928fb0 100644 --- a/.github/workflows/automate-git-stats.yml +++ b/.github/workflows/automate-git-stats.yml @@ -129,12 +129,14 @@ jobs: path: ./scripts/output retention-days: 1 + # https://stackoverflow.com/questions/1146973/how-do-i-revert-all-local-changes-in-git-managed-project-to-previous-state - name: Commit changes run: | git add ./scripts/output/commit_types.png ./scripts/output/commits_over_time.png ./scripts/output/commits_per_day_of_week.png ./scripts/output/commits_per_hour.png git commit -m "chore(bot): update git statistics images" git restore . git clean -fd + git rm -rf luarocks-3.8.0/ - name: Create Pull Request uses: peter-evans/create-pull-request@v5