Skip to content

Let a governance workflow list the bots whose changes can start it #38796

In review

Description

@yan-3005

Problem

Since 2.1, a change made by a bot never starts a governance workflow and is never held by an Enforce-mode workflow (WorkflowEventConsumer.isBotChange, ApprovalGate). That keeps ingestion re-syncs out of review queues, but it also blocks automation whose whole purpose is to propose governed content for people to review, for example a scraper that creates glossary terms so that a reviewer approves them before they are used. The documented workaround, writing with a personal token, makes automation look like a person in the audit trail.

Proposal

Let each workflow decide which bots can start it:

  • Add triggeringBots (bot names) to the eventBasedEntity trigger config, empty by default, so existing workflows keep the 2.1 behaviour.
  • A listed bot's change starts that workflow (Default mode) or is held for approval (Enforce mode). Any other bot's change behaves as today.
  • Only bots an admin created can be listed. System bots (ingestion-bot, governance-bot, ...) and applications' bots are refused when the workflow is saved.
  • Workflow automation (governance-bot) never starts a workflow.
  • Workflow builder: a bot picker on the start node.

Activity

  1. moved this to In Review / QA 👀 in Shippingon Nov 27, 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

    • Status
      No status
    • Status
      In Review / QA 👀

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions