Skip to content

Conversation

@agitter
Copy link
Member

@agitter agitter commented Mar 27, 2020

This is a work-in-progress pull request to implement the GitHub Actions pull request comments with artifact links. See #322 for a discussion of the current roadblocks and agitter/my-manuscript#14 for my trial and error testing of different actions.

TODO:

  • Only run this step on pull requests
  • Retrieve the artifact URL
  • Investigate 403 forbidden error

@agitter
Copy link
Member Author

agitter commented Mar 27, 2020

Interesting. The "Comment on Pull Request" step failed with a 403 forbidden error in this pull request. The same workflow worked when I made a pull request into a repository I owned.

@agitter
Copy link
Member Author

agitter commented Mar 27, 2020

The GitHub developer guide refers to a personal access token for authentication: https://developer.github.com/v3/guides/working-with-comments/#pull-request-comments

If I'm reading the GITHUB_TOKEN permissions correctly, it shows forked repos only have read permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant