Skip to content

Commit

Permalink
Skip timezone setup for Release Notes sync up job (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyansong-adbe authored Dec 6, 2024
1 parent feddeb2 commit 9a130c1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/scripts/release_notes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ if (GITHUB_TOKEN === undefined) {
const DRY_RUN = process.argv.includes("--dry-run")

// Before running the script, make sure the default time zone is set to PST in the GitHub action
if (!setTimeZoneToPST()) {
throw new Error("The default time zone is not set to PST")
}
// TODO: For some reason, the code below to update the timezone of the Github Action runners is not working. Ignore this step for now and will fix it later.
// if (!setTimeZoneToPST()) {
// throw new Error("The default time zone is not set to PST")
// }

console.log(`Start to fetch release info from GitHub created after [${convertToDateTime(timestampObj.ts)}]`);

Expand Down Expand Up @@ -70,4 +71,4 @@ console.log(`Start to fetch release info from GitHub created after [${convertToD
() => console.log("Finished updating release notes")
).catch(
(error) => console.error(error)
);
);

0 comments on commit 9a130c1

Please sign in to comment.