Skip to content

Make a call to GitHub API from Workflow job #25226

Answered by Yanjingzhu
AlishStrong asked this question in Actions
Discussion options

You must be logged in to vote

Hi @alishstrong , 

There is an action to add comment on PR, the comment content is from a file .  If use GITHUB_TOKEN , the comment is added by github-actions bot . 

The file path need to be a relative path against  .github/workflows . For example, your logs file is located in .github/workflows , then just specify the logs file name in finename variable. 

If the logs file is under the root path of your repo, you need to use …/…/tests.log . 

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants