Act (GitHub Actions) Settings

Act lets you run GitHub Actions workflows locally. These settings configure the act integration in Workspace Tasks.

Table of Contents

  1. workspaceTasks.applicationPath.act
  2. workspaceTasks.act.envFile
  3. workspaceTasks.act.variablesFile
  4. workspaceTasks.act.variables
  5. workspaceTasks.act.secretsFile
  6. Related

workspaceTasks.applicationPath.act

Β  Β 
Type: string
Default: "act"
Scope: resource

Path to the act executable. On Windows, .exe is appended automatically when the path ends with act. On all platforms, ~/ is expanded to the user’s home directory.

Example:

{
  // Look for the executable within the project directory
  "workspaceTasks.applicationPath.act": "tools\\act\\act.exe"
}

Screenshot - Act Path


workspaceTasks.act.envFile

Β  Β 
Type: string
Default: ""
Scope: resource

Path to a .env file that provides environment variables when running workflows with act. See the Act documentation for the expected file format.

Example:

{
  "workspaceTasks.act.envFile": ".env.act"
}

Screenshot - Act Env File


workspaceTasks.act.variablesFile

Β  Β 
Type: string
Default: ""
Scope: resource

Path to a variables file for act. The file uses the same key=value format as .env files.

Example:

{
  "workspaceTasks.act.variablesFile": ".vars"
}

Screenshot - Act Variables File


workspaceTasks.act.variables

Β  Β 
Type: object
Default: {}
Scope: resource

Inline key-value variables passed to act at runtime. These supplement or override variables loaded from workspaceTasks.act.variablesFile.

Example:

{
  "workspaceTasks.act.variables": {
    "MY_VAR": "value",
    "BUILD_ENV": "development"
  }
}

Screenshot - Act Variables


workspaceTasks.act.secretsFile

Β  Β 
Type: string
Default: ".secrets"
Scope: resource

Path to a .env-format file containing secrets for act. This file should be added to .gitignore to avoid committing credentials. See the Act documentation for the expected file format.

Example:

{
  "workspaceTasks.act.secretsFile": ".secrets"
}

Screenshot - Act Secrets File