Skip to content

fix: allow zizmor scans with no auditable inputs - #11

Merged
Mark Matyas (mynameistechno) merged 2 commits into
mainfrom
copilot/fix-no-inputs-collected-error
Sep 11, 2026
Merged

Mark Matyas (mynameistechno) merged 2 commits into
mainfrom
copilot/fix-no-inputs-collected-error

Conversation

Copilot AI commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Description
A consuming repository with no auditable GitHub Actions or Dependabot inputs currently fails the central zizmor required workflow with error: no inputs collected, blocking an otherwise valid PR. This updates the workflow to treat the no-inputs case as non-failing while preserving normal gating for real findings.

  • Workflow behavior

    • Set fail-on-no-inputs: false on both zizmor-action invocations
    • Keep the existing scan/gate behavior unchanged when auditable inputs do exist
  • Documentation

    • Document that repositories with no auditable inputs now pass with a warning instead of failing
  • Example

    with:
      advanced-security: false
      annotations: true
      fail-on-no-inputs: false

Related Issue

Type of Change
Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Additional Context
This is a minimal workflow-only fix: no policy thresholds changed, and zizmor still fails the job for actual findings at or above the configured severity.

Co-authored-by: mynameistechno <299129+mynameistechno@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix no inputs collected error during scan fix: allow zizmor scans with no auditable inputs Sep 11, 2026
@mynameistechno
Mark Matyas (mynameistechno) marked this pull request as ready for review September 11, 2026 16:46
@mynameistechno
Mark Matyas (mynameistechno) merged commit 70d4931 into main Sep 11, 2026
3 checks passed
@mynameistechno
Mark Matyas (mynameistechno) deleted the copilot/fix-no-inputs-collected-error branch September 11, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No inputs collected error

2 participants