-
Notifications
You must be signed in to change notification settings - Fork 118
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
failing job action #10
Comments
Hey @Borda, this is failing because when you run the action from a pull request, it doesn't have access to the |
Thx for so fast reply. Just to clarify, when this is in master and a new PR is created, then the docs check is applied on the PR not master, right? |
That is correct. There is another issue though, essentially when someone else makes a pull request it isn't possible to make a status check: https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token It only gets Let me think about how to solve this. |
Yeah I've been able to re-create this locally here: https://github.com/ammaraskar/sphinx-action-test/pull/4/checks?check_run_id=448260376 Notice how this fails because it is from a fork but ammaraskar/sphinx-action-test#3 which is a pull request from the original repo succeeds. |
so from forks, it will fail always? :( |
Working on a solution this now that should work from forks :) |
That would be super cool! Could you ping me when you have it... Thx |
Thank you very much for the report @Borda! This helped me simplify my code a bunch thanks to a new warnings API that Github Actions introduced. Take a look at https://github.com/Borda/pytorch-lightning/pull/2 now :) |
Hello and thanx for this nice tool.
I wanted to add it our project, but it fails with a message I don't know how to interpret... I have added the example to workflows and open PR which triggers the action job and then I got this error:
What I am doing wrong?
The text was updated successfully, but these errors were encountered: