Skip to content

Actionlint errors for merge_group event activity type destroyed #726

Description

@arifthpe

For a workflow triggering on the destroyed activity type on merge_group:

on:
  merge_group:
    types: [checks_requested, destroyed]

Actionlint complains that destroyed is invalid:

invalid activity type "destroyed" for "merge_group" Webhook event. available types are "checks_requested" [events]

However, despite being undocumented on "Events that trigger workflows" (https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#merge_group), it exists and is documented as valid for this webhook per https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=destroyed#merge_group .

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions