Skip to content

ci: ensure the shas used by compare match the current PR #2629

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

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

castastrophe
Copy link
Collaborator

@castastrophe castastrophe commented Apr 1, 2024

Description

In this PR, I noticed that the base branch being used by the compare tool was main and not spectrum-two as expected. When I investigated further, I found in the logs that it was using the default base branch rather than the base branch for the PR. To fix this, I've added a get-SHAs workflow that will fetch and pass the appropriate SHA values to the compare script.

How and where has this been tested?

Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.

Validation steps

  • When CI runs, expect the derived base and head SHAS (here) to be used in the compare script (here)
Screenshot 2024-04-01 at 9 36 03 AM Screenshot 2024-04-01 at 9 36 26 AM

To-do list

Copy link
Contributor

github-actions bot commented Apr 1, 2024

🚀 Deployed on https://pr-2629--spectrum-css.netlify.app

Copy link
Contributor

github-actions bot commented Apr 1, 2024

File metrics

Summary

Total size: 4.51 MB*

🎉 No changes detected in any packages

* Size determined by adding together the size of the main file for all packages in the library.
* Results are not gzipped or minified.
* An ASCII character in UTF-8 is 8 bits or 1 byte.

@castastrophe castastrophe force-pushed the ci-fix-compare-shas branch from 33f8514 to 2e8fd91 Compare April 1, 2024 13:37
@castastrophe castastrophe marked this pull request as ready for review April 1, 2024 13:37
@castastrophe castastrophe self-assigned this Apr 1, 2024
@castastrophe castastrophe added skip_vrt Add to a PR to skip running VRT (but still pass the action) ready-for-review labels Apr 1, 2024
Copy link
Collaborator

@mdt2 mdt2 left a comment

Choose a reason for hiding this comment

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

Thanks for updating this! LGTM

@castastrophe castastrophe force-pushed the ci-fix-compare-shas branch from 56be422 to 2a49eaa Compare April 1, 2024 14:32
@castastrophe castastrophe merged commit 3b55e57 into main Apr 1, 2024
12 checks passed
@castastrophe castastrophe deleted the ci-fix-compare-shas branch April 1, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge skip_vrt Add to a PR to skip running VRT (but still pass the action)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants