Access to download workflow run logs API #24742
-
I am trying to get workflow run logs in other repos. The docs says:
However, either with or without my personal access token, I am getting this message:
Do I misunderstand “Anyone with read access”? Or is the doc outdated? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I have exactly the same problem. Perhaps it’s a temporary issue? Happens for me with the example from the docs as well:
|
Beta Was this translation helpful? Give feedback.
-
What I also found is that you can go to the job URL and query the sha, job id parameters to then get the job log as said here:
Hello, I would like to provide link and possible line location of raw log file url that is found in the “View raw logs” pull down menu on the Actions page. Is it possible to assible this link from GITHUB env variables during the action run? |
Beta Was this translation helpful? Give feedback.
-
Bad news, this method only works if a user is logged in in the browser. What a disaster, why did the GitHub devs made it so clumsy?! |
Beta Was this translation helpful? Give feedback.
-
Fixed this using a token with repo scope. Maybe GitHub should improve the error message and the docs. |
Beta Was this translation helpful? Give feedback.
Fixed this using a token with repo scope. Maybe GitHub should improve the error message and the docs.