Skip to content

Unable to use online audits #1

Closed
@seifertm

Description

@seifertm

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:

  1. Do you think it makes sense to accepts a GitHub token as a secret?
  2. If so, which permissions would be required on the token?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions