mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-26 15:02:54 +02:00
Put a header on schedule comments (#1814)
This will add a little more context. See the current result in https://github.com/google/comprehensive-rust/pull/1813.
This commit is contained in:
parent
d5879d87b2
commit
152354e9c9
@ -61,6 +61,8 @@ jobs:
|
||||
var upstream = fs.readFileSync('upstream-schedule').toString();
|
||||
var schedule = fs.readFileSync('schedule').toString();
|
||||
if (upstream != schedule) {
|
||||
schedule = schedule + "# New Course Schedule\n";
|
||||
schedule = schedule + "This PR changes the course schedule. The new schedule is shown below.";
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
Loading…
x
Reference in New Issue
Block a user