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

🌱 allow repo contributors to call scdiff workflow #3683

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

spencerschrock
Copy link
Contributor

What kind of change does this PR introduce?

workflow fix

What is the current behavior?

  • The functionality was limited to members, owners, and collaborators, as I had thought that would cover all of the maintainers. But my association for this comment was as a contributor (can check with the api response). So my attempt to call it here failed
Error: You don't have access to run scdiff

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

  • Repo contributors can call scdiff

  • also removes the edited trigger. codecov edits PR comments a few times, which causes this action to trigger 3x. It ends up skipped though since it doesnt have the command in it, but might as well remove it

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

Which issue(s) this PR fixes

NONE

Special notes for your reviewer

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

also removes the edited trigger. codecov posts 3 times on each PR,
which causes this action to trigger 3x. It is skipped though, so not a huge deal.

Signed-off-by: Spencer Schrock <sschrock@google.com>
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #3683 (c1f1b3f) into main (1c3d9eb) will decrease coverage by 6.74%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3683      +/-   ##
==========================================
- Coverage   74.92%   68.19%   -6.74%     
==========================================
  Files         209      209              
  Lines       14217    14217              
==========================================
- Hits        10652     9695     -957     
- Misses       2942     3959    +1017     
+ Partials      623      563      -60     

@spencerschrock spencerschrock enabled auto-merge (squash) November 17, 2023 18:20
@spencerschrock spencerschrock merged commit 82692a8 into ossf:main Nov 17, 2023
41 checks passed
@spencerschrock spencerschrock deleted the golden/scdiff-workflow-fix branch November 17, 2023 18:24
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.

None yet

2 participants