We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c62063b + 8bd58ff commit 592892fCopy full SHA for 592892f
.github/workflows/weekly-poetry-bot.yml
@@ -2,8 +2,9 @@ name: Weekly Poetry Update
2
3
on:
4
schedule:
5
- - cron: '* * * * *' # Runs every time for testing purposes
6
- # - cron: '0 0 * * 0' # Runs every Sunday at midnight
+ - cron: '* * * * *' # Runs every hour for testing purposes
+ # - cron: '0 * * * *' # Runs every hour for testing purposes
7
+ workflow_dispatch: # Allows manual triggering of the workflow
8
9
jobs:
10
update-dependencies:
@@ -60,7 +61,10 @@ jobs:
60
61
62
- name: Push changes
63
run: |
64
+ gh auth setup-git
65
git push -f origin update-dependencies-${{ env.DATE }}
66
+ env:
67
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68
69
- name: Create Pull Request via gh
70
0 commit comments