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

🌱 Use git diff instead of external action for changed files #3894

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

spencerschrock
Copy link
Member

What kind of change does this PR introduce?

removing dependency

What is the current behavior?

we use tj-actions/changed-files to detect when only markdown files are changed

What is the new behavior (if this is a feature change)?**

we use git diff, since the logic we need is simple and this reduces a dependency

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

NONE

Special notes for your reviewer

You can see some example PRs of this working as expected:

Does this PR introduce a user-facing change?

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

@spencerschrock spencerschrock requested a review from a team as a code owner February 21, 2024 21:53
@spencerschrock spencerschrock requested review from laurentsimon and removed request for a team February 21, 2024 21:53
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Merging #3894 (eb14b74) into main (54690b4) will decrease coverage by 4.84%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3894      +/-   ##
==========================================
- Coverage   75.50%   70.67%   -4.84%     
==========================================
  Files         231      231              
  Lines       15669    15669              
==========================================
- Hits        11831    11074     -757     
- Misses       3109     3917     +808     
+ Partials      729      678      -51     

@spencerschrock spencerschrock merged commit 4f4b44d into ossf:main Feb 22, 2024
41 checks passed
@spencerschrock spencerschrock deleted the ci/remove-changed-files-dep branch February 22, 2024 18:07
fhoeborn pushed a commit to fhoeborn/scorecard that referenced this pull request Apr 1, 2024
* Use git diff instead of third party action.

Signed-off-by: Spencer Schrock <[email protected]>

* clarify approach

Signed-off-by: Spencer Schrock <[email protected]>

---------

Signed-off-by: Spencer Schrock <[email protected]>
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