diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2024-03-16 18:27:34 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-16 18:27:34 +0000 |
| commit | 42e03fc158e21818c23f0b155b3d1336507ae3db (patch) | |
| tree | c913ebd760b85d8cf19fb7ddb30cddd14515698f | |
| parent | 1fbe1390ca59213f41ab0a42e76b0333b896b0b3 (diff) | |
| parent | 39e36af85620ab5f3344a2ec5f838b2c3d68eab6 (diff) | |
| download | rust-42e03fc158e21818c23f0b155b3d1336507ae3db.tar.gz rust-42e03fc158e21818c23f0b155b3d1336507ae3db.zip | |
Rollup merge of #122489 - clubby789:more-cargo-update, r=Mark-Simulacrum
Bump `cargo update` PR more often r? `@Mark-Simulacrum` (https://github.com/rust-lang/rust/pull/121923#issuecomment-1986879572)
| -rw-r--r-- | .github/workflows/dependencies.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 97ed891c491..c182f3245e5 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -6,6 +6,8 @@ on: schedule: # Run weekly - cron: '0 0 * * Sun' + # Re-bump deps every 4 hours + - cron: '0 */4 * * *' workflow_dispatch: # Needed so we can run it manually permissions: @@ -135,8 +137,8 @@ jobs: gh pr edit cargo_update --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY - name: open new pull request - # Only run if there wasn't an existing PR - if: steps.edit.outcome != 'success' + # Only run if there wasn't an existing PR and if this is the weekly run + if: steps.edit.outcome != 'success' && github.event.schedule == '0 0 * * Sun' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr create --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY |
