Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/rust-toolchain-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
# Run weekly on Mondays at 00:00 UTC
- cron: '0 0 * * 1'
pull_request:

jobs:
check-and-update:
Expand Down Expand Up @@ -94,7 +95,7 @@ jobs:
repo: context.repo.repo,
title: `build(rust): Update Rust toolchain to ${newVersion}`,
head: branchName,
base: '${{ github.ref_name }}',
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref_name has a different value when triggered from PR. ref_name still should be what we want when running on the Cron schedule.

More info here: https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#github-context.

base: '${{ github.head_ref }}',
body: `Updates Rust toolchain to ${newVersion} (${fullVersion}).

**Changes:**
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
# We pin the minor version to prevent new Clippy lints from breaking CI.
# But, we still want to pick up new patch versions.
channel = "1.89"
channel = "1.88"
Loading