Closed
Description
zizmor is being integrated into pytest-asyncio.
In that setup, zizmor is already run as a pre-commit hook. The pre-commit hook doesn't require a GitHub token so that contributors aren't forced to set up a token. As a result, the hook only runs the checks that don't require a GH_TOKEN.
I want to enable the additional zizmor checks as part of the pipeline. This doesn't seem to be possible with this reusable workflow.
My understanding is that a GitHub token is automatically provided for each workflow run , but secrets have to be passed explicitly to reusable workflows. Since this workflow doesn't accept any secrets, that means the zizmore workflow cannot make use of it at the moment.
My questions are:
- Do you think it makes sense to accepts a GitHub token as a secret?
- If so, which permissions would be required on the token?