-
Notifications
You must be signed in to change notification settings - Fork 508
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
BUG: re-enable some e2e tests #861
Comments
@naveensrinivasan you have the most knowledge about the e2e tests integration. Do you think you can re-enable the checks for the e2e2 listed above? |
@laurentsimon tested
Looked at the test code for Changing the
pass the test. |
Thanks. I'll bring this up during the meeting today.
|
Yes, |
any comment on |
Ah I see. So I copied over the |
@nanikjava Are you planning to work on this? Please let us know. Thanks |
@naveensrinivasan No plan currently to work on it. |
Thanks @nanikjava ! @naveensrinivasan assigning to you. |
Increasing the scope of this bug to include #1113 (comment) |
Re-opening. We still need the e2e for generic |
Breaking e2e tests again - #1253 (comment) How do we fix this? Why does GitHub allow us to merge PRs which break e2e tests even though integration tests are |
this says the check was skipped https://github.com/ossf/scorecard/runs/4219890078?check_suite_focus=true |
Ok, I think I just found a clue. Looks like PRs which come from a fork of Scorecard always
Specifically, the part which says |
I think you're on the right track: all my PRs don't trigger a run and I use a fork, see https://github.com/ossf/scorecard/actions/workflows/integration.yml |
I think the original intention was to use the ok-to-test because there's a bunch of secrets in this workflow, and I think we can separate this part of the workflow and use the pull_request: it will use a non-admin token which would be fine? For admin use, how about running the test on push event to main instead? Or can we make a workflow run only if it's been LGTM'ed? There is still a risk someone changes the PR after LGTM... but in this case they could also just sneak in some bad code in scorecard which will run on all clients/GH actions. |
More breaking tests :( @laurentsimon could you look into it, I think the failures started after #1244 and #1252. Maybe run |
+1. I'm completely in favor of doing away with this |
I agree we can try that. Also, remember some of the tests look for GitHub Scorecard data on the |
We recently introduced #860 because all the e2e tests are disabled. I think we can safely re-enable those for which we have create a repo - see https://github.com/ossf-tests/
I created scorecard-check-pinned-dependencies-e2e, scorecard-check-token-permissions-e2e, scorecard-check-branch-protection-e2e and scorecard-check-binary-artifacts-e2e. Those are safe to be re-enabled.
@azeemsgoogle how about scorecard-check-packaging-e2e?
@oliverchang how about scorecard-check-vulnerabilities-open62541?
The text was updated successfully, but these errors were encountered: