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
Default branch is null for event of type schedule
#106
Comments
I'm having the exact same issue. The actual creation of the analysis data works nicely. However, when the cron based schedule is started as an action I get the same error as described above: https://github.com/OSInside/kiwi/runs/5213545226?check_suite_focus=true Thanks |
Thanks for the report. We believe we've fixed it at head -- see #73 I'll cut a release tomorrow and this should fix it. Sorry for the inconvenience. cc @azeemshaikh38 Anything else you'd like us to improve on, feel free to create a tracking issue for it! |
Great news thanks much for the quick turnaround |
I've released the fix. Closing. Please re-open if the fix is not effective |
I've updated the workflow to v1.0.4 which I assume is the version you have released the fix with. I'll report back in terms it does not work for me. Thank you |
please report even if it works, so that we can confidently say this is fixed |
hi @laurentsimon, Its not working for me! I am on 1.0.4 here is the build -> https://github.com/SchwarzIT/node-red-chart/runs/5304079801?check_suite_focus=true |
Thanks for the report. I tried just now on a test repo and it worked https://github.com/laurentsimon/scorecard-action-test-2/runs/5310937149?check_suite_focus=true I ran the command we use in the action that retrieves the values that are null in your run (https://github.com/ossf/scorecard-action/blob/main/entrypoint.sh#L50-L54):
and it works. Could you run the command above with your PAT token, as in these lines https://github.com/ossf/scorecard-action/blob/main/entrypoint.sh#L50-L54? Either there's something special about your PAT, or something special about your repo when it runs on push (?) If that does not help us figure the problem, I'll create a branch that prints the results of API calls and we can see what's happening. Thanks! |
hi @laurentsimon, it works now, I recreated the PAT token. I don't know what could be the reason? Maybe PAT not valid anymore (dont know if I set the date no never experire or standard 30d). Nevertheless, thanks for the help and your work! |
Nice! It would be useful to use your old PAT and see the results of the |
I can confirm it works again in my workflow. uploading failed but that could be an issue on my side. Thanks |
Thanks, closing this issue then. |
The part of the code implicated might be
https://github.com/ossf/scorecard-action/blob/main/entrypoint.sh#L52
Action https://github.com/prisma/prisma/actions/runs/1849483308/workflow
Logs https://github.com/prisma/prisma/runs/5207383913?check_suite_focus=true#step:5:16
This shows that the default branch is not detected (detected as null). It should have been detected as
main
The text was updated successfully, but these errors were encountered: