Skip to content

fix(node): do not trust committed date - #758

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:commit-date-push-event
Dec 8, 2023
Merged

aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:commit-date-push-event

Conversation

@aduh95

@aduh95 aduh95 commented Nov 30, 2023

Copy link
Copy Markdown
Contributor

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.

@codecov

codecov Bot commented Dec 6, 2023 •

Copy link
Copy Markdown

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 force-pushed the commit-date-push-event branch from 4c261f2 to 2968f30 Compare December 8, 2023 12:57
@aduh95
aduh95 requested a review from targos December 8, 2023 12:58
@aduh95
aduh95 merged commit 5968486 into nodejs:main Dec 8, 2023
@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