You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Updated actions/github-script from v5 to v6
Explicitly set permissions, pull-requests: write for the app-lint CI job
Attempted to set workflow trigger to pull_request_target instead of pull_request... but as the name suggests, this will run the workflow on the target of the PR, not on the to-be-merged codebase, e.g. the incoming change cannot be linted.
Bug / Problem
Github workflow "app-submissions.yml" is responsible for ensuring integrity of the incoming app-submission:
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
actions/github-script
fromv5
tov6
permissions, pull-requests: write
for theapp-lint
CI jobpull_request_target
instead ofpull_request
... but as the name suggests, this will run the workflow on the target of the PR, not on the to-be-merged codebase, e.g. the incoming change cannot be linted.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.
The text was updated successfully, but these errors were encountered: