Skip to content

Commit

Permalink
Put a header on schedule comments (#1814)
Browse files Browse the repository at this point in the history
This will add a little more context. See the current result in
#1813.
  • Loading branch information
djmitche authored Feb 20, 2024
1 parent d5879d8 commit 152354e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/course-schedule-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 152354e

Please sign in to comment.