Skip to content

0.86.2: generated agentics-maintenance.yml fails actionlint #55733

Description

@lkraav
✖ docker run --rm -i -v $(git rev-parse --show-toplevel):/app -w /app rhysd/actionlint -color:
.github/workflows/agentics-maintenance.yml:49:13: string should not be empty [syntax-check]
   |
49 |           - ''
   |             ^~

This is from

  workflow_dispatch:
    inputs:
      operation:
        description: 'Optional maintenance operation to run'
        required: false
        type: choice
        default: ''
        options:
          - ''
          - 'disable'

I'm unsure what the right move here is, can default: '' still work with no such options item?

EDIT option removal blocked by

.github/workflows/agentics-maintenance.yml:47:18: default value "" of "operation" input is not included in its options "\"activity_report\", \"clean_cache_memories\", \"close_agentic_workflows_issues\", \"create_labels\", \"disable\", \"enable\", \"forecast\", \"safe_outputs\", \"update\", \"update_pull_request_branches\", \"upgrade\", \"validate\"" [events]

Activity

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