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: writepermission. But forked instances can only have the read permission.
Check this failing empty string check CI run which fails with the following error:
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 theread
permission.What should be done:
workflow_run
(the same way as knip.yml and knip-reporter.yml) work