Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip timezone setup for Release Notes sync up job #726

Merged
merged 22 commits into from
Dec 6, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
);
);
Loading