Title: Theory / Important / CS / Development / GitHub / Actions
Tags: automatedNewLineAfterCommaSpace Copy

Variable: .github/workflows
Meaning: Directory containing github actions
Page: https://docs.github.com/en/education

Variable: name
Meaning: The name listed in "actions>workflows"
Page: https://docs.github.com/en/actions/quickstart
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: github workflow
Language: YAML
Initialization: the workflow file path relative to the root of the repository.

Variable: on
Meaning: what trigger this action. Either a single event, an array of events, a map from event type to its parameters
Page: https://docs.github.com/en/actions/quickstart
Context: github action
Language: YAML
Example: push
[push, pull_request]

Name: Continuous integration
Definition: a software practice that requires frequently committing code to a shared repository
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
Definition2: continuously build and test the code to make sure that the commit doesn't introduce errors
Abbreviation: CI
Intuition: detects errors sooner and reduces the amount of code a developer needs to debug when finding the source of an error.

Name: Continuous delivery
Definition: the practice of using automation to publish and deploy software updates.
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: Software engineering
Name2: Continuous deployement
Abbreviation: CD

Name: Workflow
Definition: a configurable automated process that will run one or more jobs
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action

Question: How to trigger a workflow
Answer: by an event in your repository
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action
Answer2: manually
Answer3: at a defined schedule

Name: An event
Definition: a specific activity in a repository that triggers a workflow run
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action
Example: Create a PR
Example2: open an issue
Example3: push a commit to a repo

Name: A job
Definition: A set of steps that execute on the same runner
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action

Name: A job step
Definition: A shell script
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action
Definition2: an action
Conjdef: Either

Name: The job A depends on job B
Definition: The job A must wait until job B is done to execute
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action

Name: An action
Definition: a custom application for the GitHub Actions platform that performs a complex but frequently repeated task
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action
Example: pull your git repository from GitHub
Example2: set up the correct toolchain for your build environment,
Example3: set up the authentication to your cloud provider.

Name: A runner
Definition: a server that runs your workflows when they're triggered
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action

Variable: jobs
Meaning: maps from job name to the job
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action

Variable: runs-on
Meaning: The OS on which the job should run.
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action: job
Language: yaml
Example: windows, ubuntu, mac

Variable: steps
Meaning: array of step for this job
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action: job
Language: yaml

Variable: uses: local_path
Meaning: execute the action at local_path
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: github action: job's step
Language: yaml

Variable: uses: docker://{image}:{tag}
Meaning: execute the action in the docker image image from docker hub
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: github action: job's step
Language: yaml

Variable: uses: action_name@git_branch
Meaning: execute the action foo, as it was defined by branch git_branch
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: github action: job's step
Language: yaml

Variable: uses: action_name@git_tag
Meaning: execute the action foo, as it was defined by tag git_tag
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: github action: job's step
Language: yaml

Variable: uses: action_name@hash
Meaning: execute the action foo, as it was defined by commit hash
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: github action: job's step
Language: yaml

Variable: run: foo
Meaning: execute the shell command foo
Page: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
Context: github action: job's step
Language: yaml

Name: github marketplace
Definition: a central location for you to find actions created by the GitHub community.
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: github action

Variable: env
Meaning: map from name to value that will be used as environment variable in the run script
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: github action: job/step/run
Language: yaml

Variable: shell:
Meaning: which shell to use to run this command
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: github action: job/step/run
Language: yaml

Name: Artifact
Definition: the files created when you build and test your code
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: github action:
Example: binary or package files,
Example2: test results
Example3: log file
Example4: screenshots

Variable: with
Meaning: map from action's input to its value
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: github action: job/run/uses

Instruction: uses: actions/upload-artifact@v2
with:
  name: name
  path: path
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Effect: upload file path as artifact named name
Intuition: github action: jobs/run

Instruction: uses: actions/download-artifact@v2
with:
  name: name
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Effect: download artifact with name

Name: Secret
Definition: A public name associated to a secret value
Page: https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows
Context: github action

Instruction: ${{ secrets.NAME}}
Page: https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows
Context: github action
Returns: the value associated to secret NAME
Name: Secret

Variable: strategy:
Meaning: ?
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github: jobs:
Language: YAML

Variable: matrix:
Meaning: A map from names to array of values. The job is run once for each possible value for all name
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github: job/strategy
Language: YAML

Instruction: ${{ matrix.foo }}
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Language: YAML
Context: Github: job
Returns: the value associated to to foo in the current run of the job

Variable: .github/workflow-templates
Meaning: list of templates of workflow for this project
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github action

Variable: $default-branch
Meaning: name of the default branch of this repo
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github action: default template

Name: starter workflow
Definition: allow everyone in your organization who has permission to create workflows to do so more quickly and easily
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github action:

Name: A caller workflow of W
Definition: A workflow that uses W
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Variables: W a workflow
Context: Github action:

Name: A called workflow of W
Definition: A workflow that is used by W
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Variables: W a workflow
Context: Github action:

Instruction: name:
  uses: path_of_workflow
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Effect: add a job executing the workflow at path_of_workflow
Context: Github jobs
Variables: W a workflow

Variable: on.schedule
Meaning: the set of times at which this run should be triggered
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: Github action

Variable: if:
Meaning: condition that must hold for the step to be executed
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github job/step

Question: How is github action string equality
Answer: case insensitive
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github job/step

Question: How is different type comparison done on github action
Answer: all values are converted to number or NaN, and equality is tested on them
Page: https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actionsb
Context: Github job/step

Instruction: contains (
  array,
  value
)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: whether value belongs to array

Instruction: contains (
  string,
  substring
)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: whether substring appears in string

Instruction: startsWith (
  string,
  substring
)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: whether string start with substring

Instruction: endsWith (
  string,
  substring
)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: whether string ends with substring

Instruction: format (
  string,
  arg_0,
  ...,
  arg_n
)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: string where {i} is replaced by arg_i

Instruction: join (
  array,
  sep
)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: the string containing elements of array separated by sep

Instruction: toJSON (value)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: pretty-print of json value

Instruction: fromJSON(value)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: the JSON object described by string value

Instruction: hashFiles(path)
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: a single hash for the set of files that matches the path pattern

Instruction: success()
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: none of the previous steps have failed or been canceled.

Instruction: always()
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: Causes the step to always execute, and returns true, even when canceled.

Instruction: cancelled()
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: whether the workflow was canceled.

Instruction: failure()
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: any previous step of a job fails

Instruction: foo.*.bar
Page: https://docs.github.com/en/actions/learn-github-actions/expressions
Context: Github action: expression
Returns: [intermediate.bar for intermediate in foo]

Instruction: github
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Information about the workflow run.

Instruction: env
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Contains environment variables set in a workflow, job, or step

Instruction: job
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Information about the currently executing job.

Instruction: steps
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Information about the steps that have been run in this job.

Instruction: runner
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Information about the runner that is running the current job.

Instruction: secrets
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Enables access to secrets

Instruction: strategy
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Enables access to the configured strategy parameters and information about the current job.

Instruction: matrix
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Enables access to the matrix parameters you configured for the current job.

Instruction: needs
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
https://docs.github.com/en/actions/learn-github-actions/finding-and-customizing-actions
Context: Github action: expression
Returns: Enables access to the outputs of all jobs that are defined as a dependency of the current job. Restrict this job to stat after those other jobs are done

Instruction: inputs
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Enables access to the inputs of reusable workflow.
Assuming: it is a reusable workflow

Instruction: obj['foo']
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: the property foo of obj
Variables: obj: an object
Abbreviation: obj.foo

Name: Default environment variable
Definition: A set of varibles that exist only on the runner that is executing your job
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression

Name: Context
Definition: A set of variables that can be used anywhere in the workflow
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression

Instruction: github.action
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The name of the action currently running. Or __run on a script. _i for the i-th occurrence when i>1
Abbreviation: GITHUB_ACTIONS

Instruction: github.action_path
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The path where your action is located.

Instruction: github.actor
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The login of the user that initiated the workflow run.
Abbreviation: GITHUB_ACTOR

Instruction: github.base_ref
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The base_ref or target branch of the pull request in a workflow run.
Assuming: This property is only available when the event that triggers a workflow run is either pull_request or pull_request_target.
Typ: GITHUB_BASE_REF

Instruction: github.event
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The full event webhook payload.
Assuming: This property is only available when the event that triggers a workflow run is either pull_request or pull_request_target.

Instruction: github.event_name
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The name of the event that triggered the workflow run.
Abbreviation: GITHUB_EVEN_NAME
Assuming: This property is only available when the event that triggers a workflow run is either pull_request or pull_request_target.

Instruction: github.event_path
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The path to the full event webhook payload on the runner.
Abbreviation: GITHUB_EVENT_PATH
Assuming: This property is only available when the event that triggers a workflow run is either pull_request or pull_request_target.

Instruction: github.head_ref
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The head_ref or source branch of the pull request in a workflow run.
Abbreviation: GITHUB_HEAD_REF
Assuming: This property is only available when the event that triggers a workflow run is either pull_request or pull_request_target.

Instruction: github.job
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The job_id of the current job.
Abbreviation: GITHUB_JOB

Instruction: github.ref
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The branch or tag ref that triggered the workflow run. For branches this is the format refs/heads/<branch_name>, and for tags it is refs/tags/<tag_name>.

Instruction: github.ref_name
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The branch or tag name that triggered the workflow run.
Abbreviation: GITHUB_REF_NAME

Instruction: github.ref_protected
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Whether branch protections are configured for the ref that triggered the workflow run.
Abbreviation: GITHUB_REF_PROTECTED

Instruction: github.ref_type
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The type of ref that triggered the workflow run. Valid values are branch or tag.
Abbreviation: GITHUB_REF_TYPE

Instruction: github.repository
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The owner and repository name.
Abbreviation: GITHUB_REPOSITORY

Instruction: github.repository_owner
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The repository owner's name

Instruction: github.run_id
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: A unique number for each run within a repository. This number does not change if you re-run the workflow run.
Abbreviation: $GITHUB_RUN_ID

Instruction: github.run_number
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
https://docs.github.com/en/actions/learn-github-actions/environment-variables
Context: Github action: expression
Returns: A unique number for each run of a particular workflow in a repository. This number begins at 1 for the workflow's first run, and increments with each new run. This number does not change if you re-run the workflow run.
Abbreviation: GITHUB_RUN_NUMBER

Instruction: github.run_attempt
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: A unique number for each attempt of a particular workflow run in a repository. This number begins at 1 for the workflow run's first attempt, and increments with each re-run.

Instruction: github.server_url
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: the URL of the GitHub server
Abbreviation: GITHUB_SERVER_URL

Instruction: github.sha
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The commit SHA that triggered the workflow run.
Abbreviation: GITHUB_SHA

Instruction: github.token
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: A token to authenticate on behalf of the GitHub App installed on your repository.
Abbreviation: GITHUB_TOKEN

Instruction: github.workflow
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The name of the workflow. If the workflow file doesn't specify a name, the value of this property is the full path of the workflow file in the repository.
Abbreviation: GITHUB_WORKFLOW

Instruction: github.workspace
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Context: Github action: expression
Returns: The default working directory for steps and the default location of your repository when using the checkout action.
Abbreviation: GITHUB_WORKSPACE

Instruction: env.<env_name>
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The value of a specific environment variable.

Instruction: job.container
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Information about the job's container.

Instruction: job.container.id
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: id of the job's container

Instruction: job.container.network
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: id of the job's container's network

Instruction: job.services
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The service containers created for a job.

Instruction: job.services.<service_id>.id
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The id of the service container.

Instruction: job.services.<service_id>.network
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The id of the service container network. The runner creates the network used by all containers in a job.

Instruction: job.services.<service_id>.ports
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The exposed ports of the service container.

Instruction: job.status
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The current status of the job. Possible values are success, failure, or cancelled.

Instruction: steps.<step id>.outputs
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The set of outputs defined for the step.

Instruction: steps.<step id>.conclusion
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The result of a completed step after continue-on-error is applied.
Example: Possible values are success, failure, cancelled, or skipped.

Instruction: steps.<step id>.outcome
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The result of a completed step before continue-on-error is applied.
Example: Possible values are success, failure, cancelled, or skipped.

Instruction: steps.<step id>.outputs.<output_name>
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The value of a specific output.

Instruction: runner.name
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The name of the runner executing the job.
Abbreviation: RUNNER_NAME

Instruction: runner.os
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The operating system of the runner executing the job.
Abbreviation: RUNNER_OS
Example: Possible values are Linux, Windows, or macOS.

Instruction: runner.arch
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The architecture of the runner executing the job.
Abbreviation: RUNNER_ARCH
Example: Possible values are X86, X64, ARM, and ARM64.

Instruction: runner.temp
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The path to a temporary directory on the runner.
Abbreviation: RUNNER_TEMP
Extra: This directory is emptied at the beginning and end of each job. Note that files will not be removed if the runner's user account does not have permission to delete them.

Instruction: runner.tool_cache
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The path to the directory containing preinstalled tools for GitHub-hosted runners.
Abbreviation: RUNNER_TOOL_CACHE

Instruction: needs.<job id>
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: A single job that the current job depends on.

Instruction: needs.<job id>.outputs
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The set of outputs of a job that the current job depends on

Instruction: needs.<job id>.outputs.<output_name>
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The value of a specific output for a job that the current job depends on.

Instruction: needs.<job id>.result
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: The result of a job that the current job depends on.
Example: Possible values are success, failure, cancelled, or skipped.

Instruction: inputs.<name>
Page: https://docs.github.com/en/actions/learn-github-actions/contexts
Context: Github action: expression
Returns: Each input value passed from an external workflow.

Variable: on.<event_name>.types
Meaning: Selects the types of activity that will trigger a workflow run.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow
Example: the event for the release resource is triggered when a release is published, unpublished, created, edited, deleted, or prereleased.

Variable: on.<push|pull_request>.<branches|tags>
Meaning: workflow to run on specific branches or tags
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.<push|pull_request>.<branches|tags>-ignore
Meaning: the workflow  will not run on those branches or tags
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.<push|pull_request>.paths
Meaning: the workflow will run if at least one modified files match against paths (and no path-ignore)
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.<push|pull_request>.paths-ignore
Meaning: the workflow will not run if all files match some of those patterns
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Instruction: !pattern
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Effect: A pattern that recognizes anything that do not match pattern
Context: Github workflow

Instruction: on.workflow_call.inputs
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Effect: Inputs from the workflow which called this workflow
Context: Github workflow

Instruction: on.workflow_call.inputs.<input_id>.type
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Effect: the type of the input input_id
Context: Github workflow

Instruction: on.workflow_call.inputs.<input_id>.default
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Effect: the default value of the input input_id
Context: Github workflow

Instruction: on.workflow_call.inputs.<input_id>.required
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Effect: ?
Context: Github workflow

Variable: on.workflow_call.outputs
Meaning: A map of outputs for a called workflow.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.workflow_call.secrets
Meaning: A map of the secrets that can be used in the called workflow.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.workflow_call.secrets.<secret_id>
Meaning: A string identifier to associate with the secret.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.workflow_call.secrets.<secret_id>.required
Meaning: whether the secret must be supplied.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: on.workflow_dispatch.inputs
Meaning: inputs that are passed to the workflow_dispatch event
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: permissions
Meaning: map from github objects to the permissions this workflow/job has
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Variable: defaults
Meaning: A map of default settings that will apply to all jobs in the workflow.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Context: Github workflow

Instruction: ::set-output name={name}::{value}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Context: Github workflow run
Identifier: steps.<step_id>.outputs.<name>
Initialization: value

Instruction: ::debug::{message}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: print {message}, and allow only to see it if in debug mode
Context: Github workflow run

Instruction: ::notice file={name},line={line},endLine={endLine},title={title}::{message}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: Creates a notice message and prints the message to the log. This message will create an annotation, which can associate the message with a particular file in your repository. Optionally, your message can specify a position within the file.
Context: Github workflow run

Instruction: ::warning file={name},line={line},endLine={endLine},title={title}::{message}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: Creates a warning message and prints the message to the log. This message will create an annotation, which can associate the message with a particular file in your repository. Optionally, your message can specify a position within the file.
Context: Github workflow run

Instruction: ::error file={name},line={line},endLine={endLine},title={title}::{message}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: Creates an error message and prints the message to the log. This message will create an annotation, which can associate the message with a particular file in your repository. Optionally, your message can specify a position within the file.
Context: Github workflow run

Instruction: ::group::{title} ::endgroup::
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: Creates an expandable group in the log. To create a group, use the group command and specify a title. Anything you print to the log between the group and endgroup commands is nested inside an expandable entry in the log.
Context: Github workflow run

Instruction: ::add-mask::{value}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: each word separated by spaces in value is replaced by **** in the log
Context: Github workflow run

Instruction: ::stop-commands::{value}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: stop executing all commands until the comand `value`
Context: Github workflow run

Instruction: ::echo::on
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: Enable echoing of workflow commands
Context: Github workflow run

Instruction: ::echo::off
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: Disable echoing of workflow commands
Context: Github workflow run

Instruction: ::save-state name={name}::{value}
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Effect: create environment variables for sharing with your workflow's pre: or post: actions.
Context: Github workflow run

Variable: GITHUB_ENV
Meaning: file containing the environment variable of the workflow
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Context: Github workflow

Variable: CI
Meaning: always set to true
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Context: Github workflow

Variable: GITHUB_API_URL
Meaning: Returns the API URL.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Context: Github workflow
Example: ttps://api.github.com

Variable: GITHUB_GRAPHQL_URL
Meaning: Returns the GraphQL API URL.
Page: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
Context: Github workflow
Example: https://api.github.com/graphql

Question: Which actions are free?
Answer: public repositories action
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github
Answer2: actions on self-hosted runners
Answer3: A certain number of minutes for private repositories

Question: Limit on job
Answer: Each execution is at most 6 hours. More than that and it fails
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github

Question: Limit on workflow
Answer: Each workflow is at most 72 hours. More than that and it is cancelled
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github

Question: Limit on API Requests
Answer: At most 1000 API Requests by hour across all actions within a repo
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github

Question: Limit on parallelism
Answer: At most 20 jobs, and 5 macOS job (on free account)
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action

Question: Limit on job matrix
Answer: at most 256 job per workflow run
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action

Question: Limit on workflow run queue
Answer: at most 500 workflow runs can be queued in a 10 second interval per repository
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action

Question: how long are log and artifacts kept?
Answer: by default 90 days. Can be changed to any number of day betwoon 1 and 90 (public) or 1 and 400 for private repo
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action

Instruction: contains "workflow_dispatch"
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Effect: the job can be triggered manually
Context: Github action/on

Question: Difference between re-running a workflow and running the same workflow again
Answer: GITHUB_REF change when you don't use "re-run the workflow"
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action/on

Name: An enabled workflow
Definition: A workfrow that can be run
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action/on

Name: An disabled workflow
Definition: A workfrow that can not be run
Page: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
Context: Github action/on

Instruction: any of [skip ci][ci skip][no ci][skip actions][actions skip]
or at the end of the commit message
skip-checks: true or skip-checks:true.
Page: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs
Effect: ensure that the events are not triggered when pushing this commit
Context: Github action

Variable: Concurrency.group
Meaning: the name of the concurrency group of this workflow
Page: https://docs.github.com/en/actions/deployment/about-deployments/deploying-with-github-actions
Context: Github action
Initialization: none

Name: A concurrency group
Definition: A group of workflow such that at most one workflow of this group can be run simultaneously
Page: https://docs.github.com/en/actions/deployment/about-deployments/deploying-with-github-actions
Context: Github action

Variable: concurrency.cancel-in-progress
Meaning: whether to cancel a run of this concurrency group if a new run is triggered
Page: https://docs.github.com/en/actions/deployment/about-deployments/deploying-with-github-actions
Context: Github action

Page: https://docs.github.com/en/actions/deployment/about-deployments/deploying-with-github-actions
Syntactic sugar: concurrency:name
Implementation: concurrency:
  group: name
Context: Github action

Question: container
Answer: todo
Context: Github action

Question: publishing package
Answer: todo
Context: Github action

Instruction: uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
  with: add-labels: "label"
  repo-token: ${{ secrets.GITHUB_TOKEN }}
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: add label to the issue which triggered the event
Context: Github action

Instruction: - uses: actions/stale@v3
  with:
    days-before-issue-stale: 30
    days-before-issue-close: 14
    stale-issue-label: "stale"
    stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
    close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
    days-before-pr-stale: -1
    days-before-pr-close: -1
    repo-token: ${{ secrets.GITHUB_TOKEN }}
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: add a warning and label before issue/pr get closed, and closed it
Context: Github action

Instruction: uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae
        with:
          issue-number: ${{ github.event.issue.number }}
          body: |
            some message
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: Write "some message" on the issue
Language: Github action

Instruction: - uses: alex-page/github-project-automation-plus@5bcba1c1c091a222584d10913e5c060d32c44044
  with:
    project: {project}
    column: {column}
    repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: Move the issue to {column} of {project} board
Context: Github action

Instruction: uses: andymckay/labeler@5c59dabdfd4dd5bd9c6e6d255b01b9d764af4414
with:
  remove-labels: <label>
  repo-token: ${{ secrets.GITHUB_TOKEN }}
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: remove the label <label> from this PR
Context: Github action

Instruction: uses: imjohnbo/issue-bot@3daae12aa54d38685d7ff8459fc8a2aee8cea98b
with:
  assignees: "<assignee1>, ..., <assigne_n>"
  labels: "<label1>,  <label2>"
  title: <title>
  body: <body>
  pinned: <true|false>
  close-previous <true|false>
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: Create an issue with some given parameters
Context: Github action

Instruction: todo
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Effect: migrate
Context: Github action

Variable: https://github.com/<OWNER>/<REPOSITORY>/actions/workflows/<WORKFLOW_FILE>/badge.svg
Meaning: An image showing whether a particular workflow is succesful
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Context: Github action

Variable: ACTIONS_STEP_DEBUG
Meaning: A secret stating whether debug informations should be logged
Page: https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
Context: Github action

Name: A GitHub-hosted runner
Definition: a virtual machine hosted by GitHub with the GitHub Actions runner application installed
Page: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Context: Github action

Question: What is the best way to install softwares on a GitHub-hosted runner
Answer: use an action.
Page: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Context: Github action

Instruction: Directory which contains user-related data.
Page: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Context: Github action
Abbreviation: HOME

Instruction: The POST payload of the webhook event that triggered the workflow.
Page: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Context: Github action
Abbreviation: GITHUB_EVENT_PATH

Instruction: todo
Page: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Effect: self-hosted runner
Context: Github action

Instruction: todo
Page: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Effect: advanced guides
Context: Github action

Question: Why should you avoid to log secret as structured data
Answer: If a secret is saved as {password: <pwd>}, then only <pwd> must be protected. However, no mechanism to detect secret leak will detect if <pwd> leak.
Page: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
Context: Github action

Question: when are {{expressions}} evaluated
Answer: during step start, before sending the strings to a shell
Page: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
Context: Github action

Question: How to sanitize variables ?
Answer: send the variable as an action argument in yaml
Page: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
Context: Github action
Answer2: put the variable in an environment variable and use this environment variable in the shell

Question: Why should you avoid using self-hosted runners for public repo
Answer: Any user can trigger a pull_request action on a public repo and do things on the self-hosted runner if it is not properly protected (which is hard)
Page: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
Context: Github action

Question: Are secret case-sensitive?
Answer: No
Page: https://docs.github.com/en/actions/security-guides/encrypted-secrets
Context: Github action

Question: What occurs if a secret name is used at multiple level (org, repo)
Answer: The secret at the lower level takes precedence
Page: https://docs.github.com/en/actions/security-guides/encrypted-secrets
Context: Github action

Question: Limit on secrets
Answer: At most 64kb. If bigger is needed, store an encryption key as secret and use it to decrypt the secret
Page: https://docs.github.com/en/actions/security-guides/encrypted-secrets
Context: Github action

Name: A composite action
Definition: An action combining mulitple workflow steps
Page: https://docs.github.com/en/actions/security-guides/encrypted-secrets
Context: Github action

Question: Best practice to store an application
Answer: Put it in it's own repo, unless you know it will never be reused
Page: https://docs.github.com/en/actions/security-guides/encrypted-secrets
Context: Github action

Variable: .github/actions
Meaning: directory containing actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github action

Question: What should an action's readme contain
Answer: A detailed description of what the action does
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github action
Answer2: Required input and output arguments
Answer3: Optional input and output arguments
Answer4: Secrets the action uses
Answer5: Environment variables the action uses
Answer6: An example of how to use your action in a workflow

Question: should you use Actions or Apps if it must react quickly to events
Answer: apps
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps if it must run persistently
Answer: apps
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps if persistent data is needed
Answer: apps
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps if requires API requestes that aren't time consuming
Answer: apps
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps if it runs on a server/compute infrastructure that you provide
Answer: apps
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps to provide automation that perform CI and CD?
Answer: actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps torun directly in runner machines
Answer: actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps torun directly in Docker
Answer: actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps to include access to a clone of your repository, enabling deployment and publishing tools, code formatters, and command line tools to access your code.
Answer: actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps if you don't need to deploy code or serve an app
Answer: actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: should you use Actions or Apps must have simple interface to create and use secrets
Answer: actions
Page: https://docs.github.com/en/actions/creating-actions/about-custom-actions
Context: Github

Question: action docker
Answer: todo
Page: https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action
Context: Github

Question: Constraint on JS actions
Answer: They must be pure JS and not relie on any other binaries
Page: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Context: Github

Instruction: require('@action/core')
Page: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Language: js
Context: Github js action
Returns: module with core of github action

Instruction: require('@action/github')
Page: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Language: js
Context: Github js action
Returns: module with ? of github action

Instruction: core.getInput('var')
Page: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Language: js
Context: Github js action
Returns: the input value sent to the action with name var
Variables: core = require('@action/github')

Instruction: core.setOutput(
  'var',
  value
)
Page: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Language: js
Context: Github js action
Returns: set output var of the action to value
Variables: core = require(
  '@action/github'
)

Instruction: core.setFailed('message')
Page: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Effect: fail the action and send message
Language: js
Context: Github js action
Variables: core = require('@action/github')

Question: What are the restrictions on github shell action
Answer: the file must be executable
Page: https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
Context: Github shell action
Answer2: it should either be basic sh or specify which shell to use

Variable: action.yml actiom.yaml
Meaning: metadata of an action
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action

Variable: name
Meaning: name of the action
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: author
Meaning: the name of the action's author
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: description
Meaning: A short description of the action.
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: inputs
Meaning: specify data that the action expects to use during runtime
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: inputs.<input_id>
Meaning: parameters of one of the input
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: inputs.<input_id>.description
Meaning: description of the input parameter
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: inputs.<input_id>.required
Meaning: whether the action requires the input parameter.
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: inputs.<input_id>.default
Meaning: the default value
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: inputs.<input_id>.deprecationMessage
Meaning: If the input parameter is used, this string is logged as a warning message.
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: outputs
Meaning: map from output name to their parameter
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: outputs.<output_id>
Meaning: parameters of the output output_id
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: outputs.<output_id>.description
Meaning: Description of output_id
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: outputs.<output_id>.value
Meaning: the value of the output variable
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml
Assuming: composite actions

Variable: runs
Meaning: parameter stating how to run this action
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: runs.main
Meaning: the file containing the script to execute
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: runs.using
Meaning: the tool to use to run the script
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml
Value: node12/16
Value2: composite
Value3: docker

Variable: runs.pre
Meaning: script to run before main to setup
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: runs.post
Meaning: script to run after main to tear-down
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: runs.post-if
Meaning: condition in which post must be run
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml
Initialization: true

Variable: runs.pre-if
Meaning: condition in which pre must be run
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml
Initialization: true

Variable: runs.steps
Meaning: The list of steps composing this action. Same as for workflow
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml
Assuming: composite

Variable: image
Meaning: the docker image to run
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml
Assuming: docker

Variable: branding
Meaning: description of a badge to distinguish your action
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: branding.icon
Meaning: the Feather icon to use for the badge
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: branding.color
Meaning: the background color of the badge
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: todo
Meaning: publish in marketplace
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action.yml

Variable: https://github.com/marketplace?type=actions
Meaning: market place for github action
Page: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
Context: Github action