Skip to content

Accept status_changed in on.issues.types #77162

Closed

Description

@lumaxis

GitHub Actions supports on: issues: types: [status_changed], which runs when the status of an issue changes (github/rest-api-description#7448). gh-aw rejects it. Issue statuses are in preview and only available to accounts enrolled in the preview.

Implementation plan

  1. pkg/parser/schemas/main_workflow_schema.json: add status_changed to on.issues.types.
  2. Makefile, patch-github-actions-schema: add status_changed to the appended issue activity types, then update pkg/workflow/schemas/github-workflow.json. The jq selector expects issues.properties.types, but SchemaStore nests types under issues.oneOf, so the target appends nothing today. Select .properties.issues.oneOf[] | select(.properties?.types?) instead.
  3. pkg/workflow/actionslanguageservice/compiler_schema.go: add status_changed to issues-activity-type in the compiler overlay, next to cache-mode. Copy the slice so the pinned upstream schema doesn't change.

Acceptance criteria

  • gh aw compile accepts types: [status_changed] and still rejects status_change.
  • Tests in pkg/parser/schema_test.go, pkg/workflow/schema_validation_test.go and pkg/workflow/actionslanguageservice/compiler_schema_test.go. make agent-finish passes.

Activity

  1. locked and limited conversation to collaborators on Nov 12, 2026
  2. unlocked this conversation on Nov 12, 2026
  3. Copilot commented on Nov 12, 2026

    Copilot
    Contributor

    The agent encountered an error and was unable to start working on this issue: Please try again later, or contact support if the problem persists. (Request id: EBF7:9830E:215CB89:302D0CD:6AF5D376)

  4. linked a pull request that will close this issueAccept `status_changed` issue triggers #77179on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions