resttruth.blogg.se

Github actions contexts
Github actions contexts












github actions contexts

Property dereference syntax: github.sha.For more information, see inputs context.Īs part of an expression, you can access context information using one of two syntaxes.

github actions contexts

For more information, see needs context.Ĭontains the inputs of a reusable or manually triggered workflow. For more information, see matrix context.Ĭontains the outputs of all jobs that are defined as a dependency of the current job. For more information, see strategy context.Ĭontains the matrix properties defined in the workflow that apply to the current job.

github actions contexts

Information about the matrix execution strategy for the current job. For more information, see secrets context. For more information, see runner context.Ĭontains the names and values of secrets that are available to a workflow run. Information about the runner that is running the current job. Information about the steps that have been run in the current job. For more information, see job context.įor reusable workflows only, contains outputs of jobs from the reusable workflow. Information about the currently running job. For more information, see env context.Ĭontains variables set at the repository, organization, or environment levels. For more information, see github context.Ĭontains variables set in a workflow, job, or step. For more information, see " Security hardening for GitHub Actions." Context name Certain contexts should be treated as untrusted input, as an attacker could insert their own malicious content.

#Github actions contexts code#

Warning: When creating workflows and actions, you should always consider whether your code might execute untrusted input from possible attackers.














Github actions contexts