Create a check run, details_url is not being set #26757
-
Hello all! I am using the JavaScript packages ( Thanks for your help! Here is the repo: GitHub - bkwhite/checks-playground |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
👋 Hey @bkwhite, that repository is private so I don’t have access to it. Are you creating these check runs with the |
Beta Was this translation helpful? Give feedback.
-
Hello! Sorry that repo got moved to an org. Here is the new link cypress-check/index.ts at 4237cf576cfa4e7c10da9f81efaf163ce65ca9f3 · soomo/cypress-check · GitHub. We were trying to set the We are using the token that is passed from the action into the check run. |
Beta Was this translation helpful? Give feedback.
-
We don’t support showing a If you want this scenario to work, you’d need to use a different token from a GitHub App. |
Beta Was this translation helpful? Give feedback.
-
Thanks to everyone helping here! @joshmgross - can you give me some hints about how to “use a different token”? What kind of token would work here? Does it have to be an app, or can I use a personal access token? |
Beta Was this translation helpful? Give feedback.
-
It would need to be from a GitHub App, as the Checks API only works with Apps. |
Beta Was this translation helpful? Give feedback.
-
Hi @joshmgross thanks for answering this question. I just ran into this too. Is there any documentation describing this limitation? Would you be willing to expand on why it’s not supported? It seems like it’d be useful for a bunch of cases. My case is doing something like GitHub - imjohnbo/ok-to-test: Example workflow configuration showing how to use GitHub Actions secrets in pull requests from forks 🍴🔑 - except I’d like to fix up the action shown in the PR so that it links to the action triggered by the ok-to-test command so that logs are easier to find. |
Beta Was this translation helpful? Give feedback.
-
👋 We have some documentation here: Getting started with the Checks API - GitHub Docs The Checks API was built around GitHub Apps, so there’s a pretty tight coupling between Apps and Checks, more than just an authorization restriction. |
Beta Was this translation helpful? Give feedback.
-
I also ran into this limitation, when trying to create a secure way of receiving pull requests, following this: My PR handler will store the files and the CI/CD will run on workflow_run. Too bad, but I will stop looking for solutions. |
Beta Was this translation helpful? Give feedback.
We don’t support showing a
details_url
for check runs created with the ActionsGITHUB_TOKEN
.If you want this scenario to work, you’d need to use a different token from a GitHub App.