Skip to content

Commit 68ce789

Browse files
authored
Unrolled build for rust-lang#122489
Rollup merge of rust-lang#122489 - clubby789:more-cargo-update, r=Mark-Simulacrum Bump `cargo update` PR more often r? `@Mark-Simulacrum` (rust-lang#121923 (comment))
2 parents 2ffa3c8 + 39e36af commit 68ce789

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dependencies.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
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
1113
permissions:
@@ -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

0 commit comments

Comments
 (0)