-
Notifications
You must be signed in to change notification settings - Fork 128
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
Get repository, ref via Github API #124
Comments
This was done and can be closed? |
No, this is just an idea I had that I wanted to get the repo and ref via the GitHub API instead of by using |
ho right, my bad. |
Update here: detect-workflow-js works this way so the remaining item here is to (after ensuring some stability in that new action) to deprecate |
The old slsa-github-generator/.github/actions/detect-workflow-js/src/main.ts Lines 42 to 60 in f8e4706
|
This issue was reopened by the todo-issue-reopener action in the "TODO Issue Reopener" GitHub Actions workflow because there are TODOs referencing this issue:
|
So I think the issue is that this is fixed for We still need to update the pre-BYOB builder code itself to clean up how we deal with pre-submits and e2e tests. |
Currently we have to have special case code to run e2e tests in pull requests due to #131. I'd like to get rid of that code so that pull requests run normally.
I want to see if I can't get the repository and ref via the Github API rather than by creating an OIDC token. Creating an OIDC token requires
id-token
scope which is not normally given to workflows triggered by thepull_request
event.This wouldn't allow us to sign using sigstore's Github provider, but it would at least solve the problem of getting the reusable workflow repo and ref.
The text was updated successfully, but these errors were encountered: