Skip to content

Instantly share code, notes, and snippets.

@lorne-luo
Created July 3, 2025 06:44
Show Gist options
  • Save lorne-luo/c7b8d176bc44780f0ec1d6a58de838da to your computer and use it in GitHub Desktop.
Save lorne-luo/c7b8d176bc44780f0ec1d6a58de838da to your computer and use it in GitHub Desktop.
${{ github.xxxx }} in Github Action
{
"token": "***",
"job": "setup-vars",
"ref": "refs/pull/92/merge",
"sha": "f2371b81f1c81b7d18022091a96d2c36c709f5e9",
"repository": "selfwealth/b2bDatafeedIngestorService",
"repository_owner": "selfwealth",
"repository_owner_id": "144662037",
"repositoryUrl": "git://github.com/selfwealth/b2bDatafeedIngestorService.git",
"run_id": "16043414457",
"run_number": "946",
"retention_days": "90",
"run_attempt": "1",
"artifact_cache_size_limit": "10",
"repository_visibility": "internal",
"actor_id": "178856040",
"actor": "Lorne-Luo_SWF",
"workflow": "SAM Build and Deploy",
"head_ref": "feat/ap-392-postgres-db-migrations",
"base_ref": "main",
"event_name": "pull_request",
"server_url": "https://github.com",
"api_url": "https://api.github.com",
"graphql_url": "https://api.github.com/graphql",
"ref_name": "92/merge",
"ref_protected": false,
"ref_type": "branch",
"secret_source": "Actions",
"event": {
"action": "synchronize",
"after": "bcb88d457e318adf29440181fff09b3620feeb62",
"before": "a5d98600ddd4f6cf4f11cef66ac0cc0c37a8e5a5",
"enterprise": {
"avatar_url": "https://avatars.githubusercontent.com/b/72662?v=4",
"created_at": "2023-09-07T03:06:21Z",
"description": null,
"html_url": "https://github.com/enterprises/selfwealth",
"id": 72662,
"name": "Self Wealth - EMU",
"node_id": "E_kgDOAAEb1g",
"slug": "selfwealth",
"updated_at": "2025-05-06T11:38:02Z",
"website_url": null
},
"number": 92,
"organization": {
"avatar_url": "https://avatars.githubusercontent.com/u/144662037?v=4",
"description": "",
"events_url": "https://api.github.com/orgs/selfwealth/events",
"hooks_url": "https://api.github.com/orgs/selfwealth/hooks",
"id": 144662037,
"issues_url": "https://api.github.com/orgs/selfwealth/issues",
"login": "selfwealth",
"members_url": "https://api.github.com/orgs/selfwealth/members{/member}",
"node_id": "O_kgDOCJ9eFQ",
"public_members_url": "https://api.github.com/orgs/selfwealth/public_members{/member}",
"repos_url": "https://api.github.com/orgs/selfwealth/repos",
"url": "https://api.github.com/orgs/selfwealth"
},
"pull_request": {
"id": 144662037,
"login": "selfwealth",
"node_id": "O_kgDOCJ9eFQ",
"organizations_url": "https://api.github.com/users/selfwealth/orgs",
"received_events_url": "https://api.github.com/users/selfwealth/received_events",
"repos_url": "https://api.github.com/users/selfwealth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/selfwealth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/selfwealth/subscriptions",
"type": "Organization",
"url": "https://api.github.com/users/selfwealth",
"user_view_type": "public"
},
"private": true,
"pulls_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/pulls{/number}",
"pushed_at": "2025-07-03T06:41:06Z",
"releases_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/releases{/id}",
"size": 8707,
"ssh_url": "[email protected]:selfwealth/b2bDatafeedIngestorService.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/stargazers",
"statuses_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/subscribers",
"subscription_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/subscription",
"svn_url": "https://github.com/selfwealth/b2bDatafeedIngestorService",
"tags_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/tags",
"teams_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/teams",
"topics": [],
"trees_url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService/git/trees{/sha}",
"updated_at": "2025-07-01T01:36:15Z",
"url": "https://api.github.com/repos/selfwealth/b2bDatafeedIngestorService",
"visibility": "internal",
"watchers": 0,
"watchers_count": 0,
"web_commit_signoff_required": false
},
"sender": {
"avatar_url": "https://avatars.githubusercontent.com/u/178856040?v=4",
"events_url": "https://api.github.com/users/Lorne-Luo_SWF/events{/privacy}",
"followers_url": "https://api.github.com/users/Lorne-Luo_SWF/followers",
"following_url": "https://api.github.com/users/Lorne-Luo_SWF/following{/other_user}",
"gists_url": "https://api.github.com/users/Lorne-Luo_SWF/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Lorne-Luo_SWF",
"id": 178856040,
"login": "Lorne-Luo_SWF",
"node_id": "U_kgDOCqkgaA",
"organizations_url": "https://api.github.com/users/Lorne-Luo_SWF/orgs",
"received_events_url": "https://api.github.com/users/Lorne-Luo_SWF/received_events",
"repos_url": "https://api.github.com/users/Lorne-Luo_SWF/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Lorne-Luo_SWF/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lorne-Luo_SWF/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Lorne-Luo_SWF",
"user_view_type": "public"
}
},
"workflow_ref": "selfwealth/b2bDatafeedIngestorService/.github/workflows/sam_deploy.yaml@refs/pull/92/merge",
"workflow_sha": "f2371b81f1c81b7d18022091a96d2c36c709f5e9",
"repository_id": "920976805",
"triggering_actor": "Lorne-Luo_SWF",
"workspace": "/home/runner/work/b2bDatafeedIngestorService/b2bDatafeedIngestorService",
"action": "__run_2",
"event_path": "/home/runner/work/_temp/_github_workflow/event.json",
"action_repository": "",
"action_ref": "",
"path": "/home/runner/work/_temp/_runner_file_commands/add_path_241108cd-910d-43f0-b571-69ca659814ce",
"env": "/home/runner/work/_temp/_runner_file_commands/set_env_241108cd-910d-43f0-b571-69ca659814ce",
"step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_241108cd-910d-43f0-b571-69ca659814ce",
"state": "/home/runner/work/_temp/_runner_file_commands/save_state_241108cd-910d-43f0-b571-69ca659814ce",
"output": "/home/runner/work/_temp/_runner_file_commands/set_output_241108cd-910d-43f0-b571-69ca659814ce"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment