Skip to content

Commit f27c4c3

Browse files
test action with PR trigger and older Rust version
1 parent b974c71 commit f27c4c3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/rust-toolchain-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
schedule:
55
# Run weekly on Mondays at 00:00 UTC
66
- cron: '0 0 * * 1'
7+
pull_request:
78

89
jobs:
910
check-and-update:
@@ -106,7 +107,7 @@ jobs:
106107
repo: context.repo.repo,
107108
title: commitTitle,
108109
head: branchName,
109-
base: '${{ github.ref_name }}',
110+
base: '${{ github.head_ref }}',
110111
body: `Update Rust toolchain to ${newVersion} (${fullVersion}).
111112
112113
**Changes:**

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
22
# We pin the minor version to prevent new Clippy lints from breaking CI.
33
# But, we still want to pick up new patch versions.
4-
channel = "1.89"
4+
channel = "1.88"

0 commit comments

Comments
 (0)