Skip to content

[FEA]: Add reusable-workflow input for advisory/report-only enforcement mode #396

Closed

Description

@pt-bhavsar

Problem to solve

Reusable workflow consumers that call this workflow via jobs.<id>.uses cannot set continue-on-error on the caller side. As a result, consumers cannot implement a reliable non-blocking (advisory/report-only) mode without re-implementing workflow behavior.

Proposed approach

Add an input to the reusable workflow contract to control enforcement behavior, for example:

  • enforcement_mode: strict|advisory (default: strict)
    or
  • report_only: true|false (default: false)

Expected behavior:

  • strict (default): current behavior; failing evaluation yields failing workflow.
  • advisory/report-only: workflow still produces complete artifacts/evidence and clear verdict metadata, but does not fail solely due to policy/score verdicts.
  • Tooling/runtime failures (setup errors, malformed/missing required evidence, unexpected process failures) should still fail the workflow.

Additional context

This enables staged adoption of reusable workflows (observe first, enforce later) while preserving one canonical workflow path and evidence quality.

Before submitting

Activity

  1. changed the title [-]Reusable workflow: add advisory/report-only mode for non-gating scans[/-] [+][FEA]: Add reusable-workflow input for advisory/report-only enforcement mode[/+] on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions