Skip to content

support empty strings for event_type_suffix in json config #187

Description

@sireeshavnv

The action throws "Error: not found" when event_type_suffix is an empty string in json config input, however it is works fine when event_type_suffix is an empty string in the standard yaml configuration

Example Failed config

{
  "command": "hello-workflow-command",
  "event_type_suffix": "",
  "permission": "none",
  "issue_type": "issue",
  "repository": "peter-evans/slash-command-dispatch-processor",
  "static_args": [
    "repository=${{ github.repository }}",
    "comment-id=${{ github.event.comment.id }}",
    "issue-number=${{ github.event.issue.number }}",
    "actor=${{ github.actor }}"
  ],
  "dispatch_type": "workflow"
}

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