Update github context properties

This commit is contained in:
Yukai Chou
2023-08-31 02:36:50 +08:00
parent 6513b0d15d
commit c4d2f35a55
@@ -16,6 +16,7 @@ export function getGithubContext(workflowContext: WorkflowContext, mode: Mode):
"action_repository", "action_repository",
"action_status", "action_status",
"actor", "actor",
"actor_id",
"api_url", "api_url",
"base_ref", "base_ref",
"env", "env",
@@ -25,13 +26,16 @@ export function getGithubContext(workflowContext: WorkflowContext, mode: Mode):
"graphql_url", "graphql_url",
"head_ref", "head_ref",
"job", "job",
"job_workflow_sha",
"path",
"ref", "ref",
"ref_name", "ref_name",
"ref_protected", "ref_protected",
"ref_type", "ref_type",
"path",
"repository", "repository",
"repository_id",
"repository_owner", "repository_owner",
"repository_owner_id",
"repositoryUrl", "repositoryUrl",
"retention_days", "retention_days",
"run_id", "run_id",
@@ -43,6 +47,8 @@ export function getGithubContext(workflowContext: WorkflowContext, mode: Mode):
"token", "token",
"triggering_actor", "triggering_actor",
"workflow", "workflow",
"workflow_ref",
"workflow_sha",
"workspace" "workspace"
]; ];