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(node): do not trust committed date #758

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Nov 30, 2023

The date of a commit is provided by the user, and we should not trust it blindly. Instead, we can check when was the last push event to the PR base branch.

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dbd8c65) 82.93% compared to head (2968f30) 82.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #758      +/-   ##
==========================================
+ Coverage   82.93%   82.97%   +0.03%     
==========================================
  Files          37       37              
  Lines        4191     4200       +9     
==========================================
+ Hits         3476     3485       +9     
  Misses        715      715              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The date of a commit is provided by the user, and we should not trust it
blindly. Instead, we can check when was the last push event to the PR
base branch.
@aduh95 aduh95 merged commit 5968486 into nodejs:main Dec 8, 2023
11 checks passed
@aduh95 aduh95 deleted the commit-date-push-event branch December 8, 2023 15:13
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.

2 participants