ubiquity / ts-template

A template repository for all @ubiquity projects.
2 stars 24 forks source link

ci(empty-string-checker): Resource not accessible by integration #85

Open rndquu opened 18 hours ago

rndquu commented 18 hours ago

Check this failing empty string check CI run which fails with the following error:

Error: An error occurred: Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run

The pull_request trigger runs in the context of a forked repository. In order to use the checks.create() API the workflow must use the checks: write permission. But forked instances can only have the read permission.

What should be done: