We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo update
1 parent cb580ff commit 39e36afCopy full SHA for 39e36af
.github/workflows/dependencies.yml
@@ -6,6 +6,8 @@ on:
6
schedule:
7
# Run weekly
8
- cron: '0 0 * * Sun'
9
+ # Re-bump deps every 4 hours
10
+ - cron: '0 */4 * * *'
11
workflow_dispatch:
12
# Needed so we can run it manually
13
permissions:
@@ -135,8 +137,8 @@ jobs:
135
137
gh pr edit cargo_update --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY
136
138
139
- name: open new pull request
- # Only run if there wasn't an existing PR
- 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'
142
env:
143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144
run: gh pr create --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY
0 commit comments