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

[BUG] App submission validation step (linting) fails if PR comes from external fork #55

Closed
tuxuser opened this issue Apr 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@tuxuser
Copy link
Member

tuxuser commented Apr 22, 2022

Bug / Problem

Github workflow "app-submissions.yml" is responsible for ensuring integrity of the incoming app-submission:

  • json manifest correct
  • checking compatibility of native apps with different WebOS versions

As part of this checking, the workflow will attempt to post a report to the respective Pull Request discussion. example

For updating a PR from a workflow, write permissions are necessary.
Write permissions are automatically given for internal PRs, e.g. branches of the main repo.
For external forks these permissions are not given.

Attempted steps to fix the issue

See: (2342301)

Issue on the actions/github-script repo: (actions/github-script#42)

Current behaviour

App linting step fails with the following error when attempting to post a message to the PR discussion:

Resource not accessible by integration

Expected behaviour

PR gets properly updated with the "app lint" compatibility card.

Screenshot from 2022-04-22 13-45-22

@tuxuser tuxuser added the bug Something isn't working label Apr 22, 2022
@mariotaku
Copy link
Member

Should be fixed now. Do you want to give it a shot?

@tuxuser
Copy link
Member Author

tuxuser commented May 2, 2022

Indeed it does :) Tested @ PR #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants