Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DorielRivalet committed Sep 12, 2023
1 parent 819ee8a commit 522ff56
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/automate-git-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,12 @@ 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 rm -rf luarocks-3.8.0/
git restore .
git clean -fd
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: 'chore(bot): update git statistics images'
title: 'Update git statistics images'
reviewers: DorielRivalet
branch: create-pull-request/automate-git-stats
add-paths: |
./scripts/output/*.png

0 comments on commit 522ff56

Please sign in to comment.