GHPP icon

GHPP

Run ghpp promote/demote to manage GitHub Project Issue items

Demote

AI-generated

Summary

Demote stale GitHub Project issue items to the previous status based on a specified stale threshold and workflow mode.

Inputs

  • Owner (required) — GitHub owner (user or organization) where the project resides.
  • Project Number (required) — Number identifying the GitHub Project to operate on.
  • Stale Threshold — Duration string (e.g., "2h", "30m") defining how long an item must be inactive to be considered stale and thus eligible for demotion.
  • Workflow — Selects the workflow mode controlling which status transitions are performed; 'Full' uses Backlog -> Plan -> Ready -> In progress stages, 'Simple' uses Backlog -> In progress only, ignoring Plan/Ready flags.
  • Dry Run — If enabled, performs a simulation without making any actual changes to the project items.
  • Status Settings — Customizable status names for inbox, plan, ready, and doing statuses used during demotion to match the target GitHub project configuration.

Output shape

a list of JSON objects representing the demotion operation result for each invocation.

Each output item contains parsed JSON data from the underlying 'ghpp' command. If parsing fails, raw command output is included. Errors during execution cause the node to fail with descriptive messages.

Links

Discussion