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 PRs from forks failing CI due to lack of Github secrets #556

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

SamZhang02
Copy link
Collaborator

@SamZhang02 SamZhang02 commented May 4, 2024

This should only be merged after @terror changes the OAuth secret to the dev one.

This has some security implications, because it means the CI will be ran on our resources. Github action codes from forks should be verified to ensure no malicious code before running any actions.

@SamZhang02
Copy link
Collaborator Author

Resolves #527

@SamZhang02 SamZhang02 changed the title Fix forks failing CI due to lack of Github secrets Fix PRs from forks failing CI due to lack of Github secrets May 4, 2024
@SamZhang02
Copy link
Collaborator Author

I can't really test this lmao but I'll make a dummy PR from a fork after this gets merged to check if it works well

@SamZhang02 SamZhang02 marked this pull request as ready for review May 5, 2024 01:03
@SamZhang02 SamZhang02 requested a review from terror May 5, 2024 01:03
@SamZhang02
Copy link
Collaborator Author

@terror feel free to merge this once you swapped the secret

@SamZhang02
Copy link
Collaborator Author

wait i dont think this is right checks arent running (?

@SamZhang02
Copy link
Collaborator Author

ehhhhhhhhhhhh need more research before proceeding

@SamZhang02 SamZhang02 marked this pull request as draft May 5, 2024 01:13
@SamZhang02 SamZhang02 marked this pull request as ready for review May 5, 2024 01:19
@SamZhang02 SamZhang02 marked this pull request as draft May 5, 2024 01:20
@terror terror marked this pull request as ready for review May 5, 2024 17:56
@terror terror enabled auto-merge (squash) May 5, 2024 17:58
Copy link

codecov bot commented May 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.11%. Comparing base (f51b59f) to head (aaf831d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #556   +/-   ##
=======================================
  Coverage   88.11%   88.11%           
=======================================
  Files          44       44           
  Lines        6294     6294           
=======================================
  Hits         5546     5546           
  Misses        748      748           

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

@terror terror disabled auto-merge May 5, 2024 18:21
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