You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/cli/environments.ts
+9-7
Original file line number
Diff line number
Diff line change
@@ -7,18 +7,20 @@ declare global {
7
7
// The short ref name of the branch or tag that triggered the workflow run. This value matches the branch or tag name shown on GitHub. For example, feature-branch-1.
8
8
// For pull requests, the format is <pr_number>/merge.
9
9
GITHUB_REF_NAME: string;
10
-
// The name of the base ref or target branch of the pull request in a workflow run. This is only set when the event that triggers a workflow run is either pull_request or pull_request_target. For example, main.
11
-
GITHUB_BASE_REF: string
10
+
// The name of the base ref or target branch of the pull request in a workflow run. This is only set when the event that triggers a workflow run is either pull_request or pull_request_target. For example, main.
11
+
GITHUB_BASE_REF: string;
12
12
// The head ref or source branch of the pull request in a workflow run. This property is only set when the event that triggers a workflow run is either pull_request or pull_request_target. For example, feature-branch-1.
13
-
GITHUB_HEAD_REF: string
13
+
GITHUB_HEAD_REF: string;
14
14
// The owner and repository name. For example, octocat/Hello-World.
15
-
GITHUB_REPOSITORY: string
15
+
GITHUB_REPOSITORY: string;
16
16
// The commit SHA that triggered the workflow. The value of this commit SHA depends on the event that triggered the workflow. For more information, see "Events that trigger workflows." For example, ffac537e6cbbf934b08745a378932722df287a53.
17
-
GITHUB_SHA: string
17
+
GITHUB_SHA: string;
18
18
// The name of the person or app that initiated the workflow. For example, octocat.
19
-
GITHUB_ACTOR: string
19
+
GITHUB_ACTOR: string;
20
20
// The path to the file on the runner that contains the full event webhook payload. For example, /github/workflow/event.json.
21
-
GITHUB_EVENT_PATH: string
21
+
GITHUB_EVENT_PATH: string;
22
+
// A unique number for each workflow run within a repository. This number does not change if you re-run the workflow run. For example, 1658821493.
0 commit comments