File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 66 schedule :
77 # Run weekly
88 - cron : ' 0 0 * * Sun'
9+ # Re-bump deps every 4 hours
10+ - cron : ' 0 */4 * * *'
911 workflow_dispatch :
1012 # Needed so we can run it manually
1113permissions :
@@ -135,8 +137,8 @@ jobs:
135137 gh pr edit cargo_update --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY
136138
137139 - name : open new pull request
138- # Only run if there wasn't an existing PR
139- if : steps.edit.outcome != 'success'
140+ # Only run if there wasn't an existing PR and if this is the weekly run
141+ if : steps.edit.outcome != 'success' && github.event.schedule == '0 0 * * Sun'
140142 env :
141143 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
142144 run : gh pr create --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY
You can’t perform that action at this time.
0 commit comments