1
0
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:
Dustin J. Mitchell 2024-02-20 09:19:14 -05:00 committed by GitHub
parent d5879d87b2
commit 152354e9c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,