{
  "id": "act",
  "name": "act",
  "homepage": "https://github.com/nektos/act",
  "description": "Run your GitHub Actions locally!",
  "executables": [
    "act"
  ],
  "dotfiles": {
    "paths": [
      "~/.actrc",
      "~/.config/act/actrc",
      "~/Library/Application Support/act/actrc",
      "%LOCALAPPDATA%/act/actrc"
    ],
    "exclude": [
      "[xdgCache]/act/",
      "[xdgCache]/actcache/"
    ],
    "secret": [],
    "side_effect": false,
    "machine_lines": [
      {
        "file": [
          "~/.actrc",
          "~/.config/act/actrc",
          "~/Library/Application Support/act/actrc",
          "%LOCALAPPDATA%/act/actrc"
        ],
        "match": {
          "prefix": [
            "--container-daemon-socket",
            "--artifact-server-path"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Run GitHub Actions locally",
    "description": "Run workflows from .github/workflows in containers, or list and graph them. Event-name positional, runner image tuning and Docker socket options are left out.",
    "quality": "ai-draft",
    "base": "fig:act",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/act.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "workflows",
        "label": "Workflow file or directory",
        "type": "path",
        "option": [
          "--workflows",
          "-W"
        ],
        "path": {
          "kind": "any",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "job",
        "label": "Run only this job",
        "type": "string",
        "option": [
          "--job",
          "-j"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "eventpath",
        "label": "Event JSON file",
        "type": "path",
        "option": [
          "--eventpath",
          "-e"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "list",
        "label": "List workflows",
        "type": "boolean",
        "option": [
          "--list",
          "-l"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "graph",
        "label": "Draw workflow graph",
        "type": "boolean",
        "option": [
          "--graph",
          "-g"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "dryrun",
        "label": "Dry run",
        "type": "boolean",
        "option": [
          "--dryrun",
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "secret",
        "label": "Secrets",
        "description": "KEY=value, or KEY alone to be prompted. Values typed here end up in shell history; prefer a secret file.",
        "type": "string",
        "option": [
          "--secret",
          "-s"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "secret_file",
        "label": "Secret file",
        "type": "path",
        "option": [
          "--secret-file"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "env",
        "label": "Environment variables",
        "description": "KEY=value, or KEY alone.",
        "type": "string",
        "option": [
          "--env"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "env_file",
        "label": "Environment file",
        "type": "path",
        "option": [
          "--env-file"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "platform",
        "label": "Platform image mappings",
        "description": "Example: ubuntu-latest=catthehacker/ubuntu:act-latest",
        "type": "string",
        "option": [
          "--platform",
          "-P"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "container_architecture",
        "label": "Container architecture",
        "type": "string",
        "option": [
          "--container-architecture"
        ],
        "suggestions": [
          {
            "value": "linux/amd64",
            "label": "linux/amd64"
          },
          {
            "value": "linux/arm64",
            "label": "linux/arm64"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "bind",
        "label": "Bind working directory",
        "description": "Bind the working directory into the container instead of copying it.",
        "type": "boolean",
        "option": [
          "--bind",
          "-b"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "reuse",
        "label": "Keep containers",
        "type": "boolean",
        "option": [
          "--reuse",
          "-r"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "pull",
        "label": "Pull images",
        "type": "boolean",
        "option": [
          "--pull",
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "watch",
        "label": "Watch for changes",
        "type": "boolean",
        "option": [
          "--watch",
          "-w"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "--verbose",
          "-v"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "--quiet",
          "-q"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "run",
        "label": "Run a workflow",
        "fields": [
          "workflows",
          "job",
          "eventpath",
          "secret",
          "secret_file",
          "env",
          "env_file",
          "dryrun"
        ],
        "required": []
      },
      {
        "id": "list",
        "label": "List workflows",
        "set": {
          "list": [
            true
          ]
        },
        "lock": [
          "list"
        ],
        "fields": [
          "list",
          "workflows"
        ],
        "required": []
      },
      {
        "id": "graph",
        "label": "Show workflow graph",
        "set": {
          "graph": [
            true
          ]
        },
        "lock": [
          "graph"
        ],
        "fields": [
          "graph",
          "workflows"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "workflows",
          "job",
          "eventpath",
          "list",
          "graph",
          "dryrun",
          "secret",
          "secret_file",
          "env",
          "env_file"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "platform",
          "container_architecture",
          "bind",
          "reuse",
          "pull",
          "watch",
          "verbose",
          "quiet"
        ]
      }
    ]
  }
}
