-
Notifications
You must be signed in to change notification settings - Fork 47
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
Run spectral action for a pull_request fails but shows pass #624
Comments
Also seeing this with the action failing due to an
But showing as having passed |
My error above is related to #625, but the check failing is still an issue |
I get the same error https://github.com/shavo007/docker-kong/runs/5379810619?check_suite_focus=true#step:4:8 |
"Some research pointed towards the direction of missing permissions. I am wondering which permissions are required to perform the linting?" The error went away when I allowed all permissions (by removing my permissions entry), but as per above not clear to me which permission is required |
This worked for me:
|
Describe the bug
We use spectral to lint documents in our repo, however if someone opens a pull request the process fails with the following message:
Error: Resource not accessible by integration
Example see here:
However, the action passes and does not fail
https://github.com/bundesAPI/autobahn-api/runs/4684070400?check_suite_focus=true
To Reproduce
Expected behavior
Linting runs on merge request branch and outputs linting errors and only passes if test is sucessful.
Additional context
Some research pointed towards the direction of missing permissions. I am wondering which permissions are required to perform the linting?
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (remove any that are not applicable):
The text was updated successfully, but these errors were encountered: