Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions pull request comments to workflow #327

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

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