+
Skip to content

Feature: detect general correctness errors #931

Open
@andrewbanchich

Description

@andrewbanchich

Pre-submission checks

  • I am not reporting a bug (crash, false positive/negative, etc). These must be filed via the bug report template.
  • I have looked through the open issues for a duplicate request.

What's the problem this feature will solve?

Not sure if this is in the realm of what zizmor aspires to address, but I was thinking that GHA workflows have so many potential sources of bugs, maybe zizmor could try to find general correctness errors.

E.g. doing

env:
  FOO: 123
  BAR: $FOO-456

Won't produce expected results since env vars only expand in bash. Maybe this results in a security issue since the correctness of your workflow is wrong.

Describe the solution you'd like

Zizmor could flag things like apparent use of env var in non-shell context or any other potential errors which GitHub will accept but not error / warn about.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageIssue is being triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载