Any way to determine url to raw logs of github actions? #26474
-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @ivanixgames , It’s possible to get the existing raw log url. The URL follows the below format: https://github.com/{{github.repository}}/commit/{{checkrun.headsha}}/checks/${{checkrun.id}}/logs ${{checkrun.headsha}}: can be get from checkrun rest api: Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
@miriam-lam-wdc an alternative might be this: https://github.com/marketplace/actions/job-summary-url |
Beta Was this translation helpful? Give feedback.
Hi @ivanixgames ,
It’s possible to get the existing raw log url. The URL follows the below format:
https://github.com/{{github.repository}}/commit/{{checkrun.headsha}}/checks/${{checkrun.id}}/logs
${{checkrun.headsha}}: can be get from checkrun rest api:
Hope it helps.