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

Fix diff schema on PRs #3071

Merged
merged 5 commits into from
Jan 5, 2024
Merged

Fix diff schema on PRs #3071

merged 5 commits into from
Jan 5, 2024

Conversation

mgyucht
Copy link
Contributor

@mgyucht mgyucht commented Jan 4, 2024

Changes

The diff-schema workflow doesn't work anymore because it fails to checkout master. This PR should fix this by always checking out the base & head commits and passing those commits via env vars to diff-schema.sh. With no variables set, it will show the diff between the current checked-out branch and master.

Tests

  • Ran locally with no flags, worked.
  • Ran locally with BASE_COMMIT=bb12b5a614f9c1357356b68d58c15ad87f6cfa08, worked
  • Triggered on this PR
  • Triggered via workflow dispatch

@mgyucht mgyucht requested a review from edwardfeng-db January 4, 2024 10:59
@mgyucht mgyucht requested review from a team as code owners January 4, 2024 10:59
@mgyucht mgyucht requested review from hectorcast-db and removed request for a team January 4, 2024 10:59
@codecov-commenter
Copy link

codecov-commenter commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (65f332f) 84.55% compared to head (2f02ad5) 84.55%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3071   +/-   ##
=======================================
  Coverage   84.55%   84.55%           
=======================================
  Files         161      161           
  Lines       14187    14187           
=======================================
  Hits        11996    11996           
  Misses       1508     1508           
  Partials      683      683           

Copy link
Contributor

@alexott alexott left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@edwardfeng-db edwardfeng-db 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 fixing this!

@alexott alexott added this pull request to the merge queue Jan 5, 2024
Merged via the queue into master with commit 9908f7a Jan 5, 2024
5 checks passed
@alexott alexott deleted the fix-diff-schema branch January 5, 2024 09:22
@tanmay-db tanmay-db mentioned this pull request Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants