Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdemaegdt committed Nov 1, 2023
1 parent 97829bd commit 1c2699e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update_counters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Counters

on:
schedule:
- cron: '55 20 1 * *' # This triggers at 21:30 (Paris time) on the first day of each month
- cron: '10 21 1 * *' # This triggers at 21:30 (Paris time) on the first day of each month

jobs:
update_counters:
Expand All @@ -28,9 +28,10 @@ jobs:
git config --global user.name 'benoitdemaegdt'
git config --global user.email 'benoit.demaegdt@gmail.com'
git checkout -b update-counters-${{ github.run_id }}
git diff
git add -A
git commit -m "Update counters"
git push origin update-counters-${{ github.run_id }}
git push
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
Expand Down

0 comments on commit 1c2699e

Please sign in to comment.