Skip to content

action name defaults to 1 (or the index of the action) #66

@technicalpickles

Description

@technicalpickles

I noticed this on one of the other issues, but if you don't specify a name for actions, you end up with 1, 2, 3, etc

apiVersion: scope.github.com/v1alpha
kind: ScopeDoctorGroup
metadata:
  name: github
spec:
  description: Check GitHub is configured
  needs:
    - homebrew
  actions:
    - description: GitHub CLI authentication
      check:
        commands:
          - github-cli.sh check
      fix:
        commands:
          - github-cli.sh fix

    - description: GitHub SSH authentication
      check:
        commands:
          - github-ssh.sh check
 INFO Check was successful, group: "github", name: "1"
 INFO Check was successful, group: "github", name: "2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions