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
My guess is that, since the action uses annotations, it has to have checks write permissions in the repo context, which it doesn't and can't have when the repo is a fork.
The action could comment on the PR content instead, but in that case it wouldn't be able to properly work on the whole file, given that GitHub doesn't support commenting on unchanged lines in a pull request yet.
When a PR is opened from a fork, spectral-action doesn't fail if there are errors, but just adds annotation errors in the action logs.
This is tracked upstream as stoplightio/spectral-action#624
The text was updated successfully, but these errors were encountered: