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

[tests] Add cron job to update gatsby fixtures #9510

Merged
merged 5 commits into from
Feb 28, 2023
Merged

Conversation

Ethan-Arrowood
Copy link
Contributor

PR to add a cron job and script that automatically updates gatsby fixture versions.

@Ethan-Arrowood
Copy link
Contributor Author

Another option to doing the whole npm view check is to use: npm i gatsby@<tag> --save-exact --package-lock-only which will update the gatsby package version to the right semver value (i.e. 4.24.4) and update the package lock file all in one...without actually installing all the dependencies I think

@Ethan-Arrowood Ethan-Arrowood added the pr: automerge Automatically merge the PR when checks pass label Feb 28, 2023
@TooTallNate TooTallNate merged commit 3df8c05 into main Feb 28, 2023
@TooTallNate TooTallNate deleted the fix-gatsby-tests branch February 28, 2023 19:32
utils/update-gatsby-fixtures.js Outdated Show resolved Hide resolved
exec('git', ['config', '--global', 'user.name', 'vercel-release-bot']);
try {
// Branch may exist if there's already an existing PR
exec('git', ['checkout', branch]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question (non-blocking): should we also merge main in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i assume itd happen automatically cause of automerge or our manual input. if it becomes an issue Ill modify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests pr: automerge Automatically merge the PR when checks pass semver: none PR is not relevant to publishing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants