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.
This PR removes the checks.create() call so that forked instances were not failing. This way the CI is still failing and shows meaningful warnings.
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.This PR removes the
checks.create()
call so that forked instances were not failing. This way the CI is still failing and shows meaningful warnings.QA: https://github.com/rndquu/ts-template/actions/runs/11953756844/job/33322322490?pr=6