From 152354e9c9eb1bb462506300c7d1e4574349b720 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Tue, 20 Feb 2024 09:19:14 -0500 Subject: [PATCH] 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. --- .github/workflows/course-schedule-comment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/course-schedule-comment.yml b/.github/workflows/course-schedule-comment.yml index e5201d6ac38e..9d2b1973a710 100644 --- a/.github/workflows/course-schedule-comment.yml +++ b/.github/workflows/course-schedule-comment.yml @@ -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,