mirror of
https://github.com/docker/metadata-action.git
synced 2026-03-28 21:30:50 +00:00
dev: update fixtures
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
30
__tests__/fixtures/event_create_branch.env
Normal file
30
__tests__/fixtures/event_create_branch.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_49ba9b4e-1733-447c-b700-1cea19f95b82
|
||||||
|
GITHUB_EVENT_NAME=create
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_create_branch.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_49ba9b4e-1733-447c-b700-1cea19f95b82
|
||||||
|
GITHUB_REF=refs/heads/dev
|
||||||
|
GITHUB_REF_NAME=dev
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188731929
|
||||||
|
GITHUB_RUN_NUMBER=14
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=5f3331d7f7044c18ca9f12c77d961c4d7cf3276a
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_49ba9b4e-1733-447c-b700-1cea19f95b82
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
145
__tests__/fixtures/event_create_branch.json
Normal file
145
__tests__/fixtures/event_create_branch.json
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
{
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"master_branch": "master",
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"pusher_type": "user",
|
||||||
|
"ref": "dev",
|
||||||
|
"ref_type": "branch",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 6,
|
||||||
|
"open_issues_count": 6,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:24:14Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
30
__tests__/fixtures/event_create_tag.env
Normal file
30
__tests__/fixtures/event_create_tag.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_06751acb-da10-4e54-916a-60749556fc8b
|
||||||
|
GITHUB_EVENT_NAME=create
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_create_tag.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_06751acb-da10-4e54-916a-60749556fc8b
|
||||||
|
GITHUB_REF=refs/tags/v2.1.8-beta.67
|
||||||
|
GITHUB_REF_NAME=v2.1.8-beta.67
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188815957
|
||||||
|
GITHUB_RUN_NUMBER=22
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_06751acb-da10-4e54-916a-60749556fc8b
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
145
__tests__/fixtures/event_create_tag.json
Normal file
145
__tests__/fixtures/event_create_tag.json
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
{
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"master_branch": "master",
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"pusher_type": "user",
|
||||||
|
"ref": "v2.1.8-beta.67",
|
||||||
|
"ref_type": "tag",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 6,
|
||||||
|
"open_issues_count": 6,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:41:03Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
30
__tests__/fixtures/event_discussion_created.env
Normal file
30
__tests__/fixtures/event_discussion_created.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_5f8f9da1-1c58-4a8e-bef4-dba436a05edf
|
||||||
|
GITHUB_EVENT_NAME=discussion
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_discussion_created.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_5f8f9da1-1c58-4a8e-bef4-dba436a05edf
|
||||||
|
GITHUB_REF=refs/heads/master
|
||||||
|
GITHUB_REF_NAME=master
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188642055
|
||||||
|
GITHUB_RUN_NUMBER=7
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=266574110acf203503badf966df2ea24b5d732d7
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_5f8f9da1-1c58-4a8e-bef4-dba436a05edf
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
205
__tests__/fixtures/event_discussion_created.json
Normal file
205
__tests__/fixtures/event_discussion_created.json
Normal file
@@ -0,0 +1,205 @@
|
|||||||
|
{
|
||||||
|
"action": "created",
|
||||||
|
"discussion": {
|
||||||
|
"active_lock_reason": null,
|
||||||
|
"answer_chosen_at": null,
|
||||||
|
"answer_chosen_by": null,
|
||||||
|
"answer_html_url": null,
|
||||||
|
"author_association": "COLLABORATOR",
|
||||||
|
"body": "bar",
|
||||||
|
"category": {
|
||||||
|
"created_at": "2022-04-19T11:05:12.000+02:00",
|
||||||
|
"description": "Chat about anything and everything here",
|
||||||
|
"emoji": ":speech_balloon:",
|
||||||
|
"id": 37396924,
|
||||||
|
"is_answerable": false,
|
||||||
|
"name": "General",
|
||||||
|
"node_id": "DIC_kwDOEQjNNc4COqG8",
|
||||||
|
"repository_id": 285789493,
|
||||||
|
"slug": "general",
|
||||||
|
"updated_at": "2022-04-19T11:05:12.000+02:00"
|
||||||
|
},
|
||||||
|
"comments": 0,
|
||||||
|
"created_at": "2022-04-19T09:07:32Z",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action/discussions/13",
|
||||||
|
"id": 4019118,
|
||||||
|
"locked": false,
|
||||||
|
"node_id": "D_kwDOEQjNNc4APVOu",
|
||||||
|
"number": 13,
|
||||||
|
"reactions": {
|
||||||
|
"+1": 0,
|
||||||
|
"-1": 0,
|
||||||
|
"confused": 0,
|
||||||
|
"eyes": 0,
|
||||||
|
"heart": 0,
|
||||||
|
"hooray": 0,
|
||||||
|
"laugh": 0,
|
||||||
|
"rocket": 0,
|
||||||
|
"total_count": 0,
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action/discussions/13/reactions"
|
||||||
|
},
|
||||||
|
"repository_url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"state": "open",
|
||||||
|
"timeline_url": "https://api.github.com/repos/docker/test-docker-action/discussions/13/timeline",
|
||||||
|
"title": "foo",
|
||||||
|
"updated_at": "2022-04-19T09:07:32Z",
|
||||||
|
"user": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 4,
|
||||||
|
"open_issues_count": 4,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
30
__tests__/fixtures/event_discussion_pinned.env
Normal file
30
__tests__/fixtures/event_discussion_pinned.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_940c04a5-537a-4401-afe6-1f044e1d3836
|
||||||
|
GITHUB_EVENT_NAME=discussion
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_discussion_pinned.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_940c04a5-537a-4401-afe6-1f044e1d3836
|
||||||
|
GITHUB_REF=refs/heads/master
|
||||||
|
GITHUB_REF_NAME=master
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188642074
|
||||||
|
GITHUB_RUN_NUMBER=8
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=266574110acf203503badf966df2ea24b5d732d7
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_940c04a5-537a-4401-afe6-1f044e1d3836
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
205
__tests__/fixtures/event_discussion_pinned.json
Normal file
205
__tests__/fixtures/event_discussion_pinned.json
Normal file
@@ -0,0 +1,205 @@
|
|||||||
|
{
|
||||||
|
"action": "pinned",
|
||||||
|
"discussion": {
|
||||||
|
"active_lock_reason": null,
|
||||||
|
"answer_chosen_at": null,
|
||||||
|
"answer_chosen_by": null,
|
||||||
|
"answer_html_url": null,
|
||||||
|
"author_association": "COLLABORATOR",
|
||||||
|
"body": "bar",
|
||||||
|
"category": {
|
||||||
|
"created_at": "2022-04-19T11:05:12.000+02:00",
|
||||||
|
"description": "Chat about anything and everything here",
|
||||||
|
"emoji": ":speech_balloon:",
|
||||||
|
"id": 37396924,
|
||||||
|
"is_answerable": false,
|
||||||
|
"name": "General",
|
||||||
|
"node_id": "DIC_kwDOEQjNNc4COqG8",
|
||||||
|
"repository_id": 285789493,
|
||||||
|
"slug": "general",
|
||||||
|
"updated_at": "2022-04-19T11:05:12.000+02:00"
|
||||||
|
},
|
||||||
|
"comments": 0,
|
||||||
|
"created_at": "2022-04-19T09:07:32Z",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action/discussions/13",
|
||||||
|
"id": 4019118,
|
||||||
|
"locked": false,
|
||||||
|
"node_id": "D_kwDOEQjNNc4APVOu",
|
||||||
|
"number": 13,
|
||||||
|
"reactions": {
|
||||||
|
"+1": 0,
|
||||||
|
"-1": 0,
|
||||||
|
"confused": 0,
|
||||||
|
"eyes": 0,
|
||||||
|
"heart": 0,
|
||||||
|
"hooray": 0,
|
||||||
|
"laugh": 0,
|
||||||
|
"rocket": 0,
|
||||||
|
"total_count": 0,
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action/discussions/13/reactions"
|
||||||
|
},
|
||||||
|
"repository_url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"state": "open",
|
||||||
|
"timeline_url": "https://api.github.com/repos/docker/test-docker-action/discussions/13/timeline",
|
||||||
|
"title": "foo",
|
||||||
|
"updated_at": "2022-04-19T09:07:32Z",
|
||||||
|
"user": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 4,
|
||||||
|
"open_issues_count": 4,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
30
__tests__/fixtures/event_issue_opened.env
Normal file
30
__tests__/fixtures/event_issue_opened.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_b598b668-2cad-465a-b526-d21912b7d2b2
|
||||||
|
GITHUB_EVENT_NAME=issues
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_issue_opened.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_b598b668-2cad-465a-b526-d21912b7d2b2
|
||||||
|
GITHUB_REF=refs/heads/master
|
||||||
|
GITHUB_REF_NAME=master
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188657159
|
||||||
|
GITHUB_RUN_NUMBER=9
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=266574110acf203503badf966df2ea24b5d732d7
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_b598b668-2cad-465a-b526-d21912b7d2b2
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
200
__tests__/fixtures/event_issue_opened.json
Normal file
200
__tests__/fixtures/event_issue_opened.json
Normal file
@@ -0,0 +1,200 @@
|
|||||||
|
{
|
||||||
|
"action": "opened",
|
||||||
|
"issue": {
|
||||||
|
"active_lock_reason": null,
|
||||||
|
"assignee": null,
|
||||||
|
"assignees": [],
|
||||||
|
"author_association": "COLLABORATOR",
|
||||||
|
"body": "bar",
|
||||||
|
"closed_at": null,
|
||||||
|
"comments": 0,
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/issues/14/comments",
|
||||||
|
"created_at": "2022-04-19T09:10:26Z",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/issues/14/events",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action/issues/14",
|
||||||
|
"id": 1208034626,
|
||||||
|
"labels": [],
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/issues/14/labels{/name}",
|
||||||
|
"locked": false,
|
||||||
|
"milestone": null,
|
||||||
|
"node_id": "I_kwDOEQjNNc5IASVC",
|
||||||
|
"number": 14,
|
||||||
|
"performed_via_github_app": null,
|
||||||
|
"reactions": {
|
||||||
|
"+1": 0,
|
||||||
|
"-1": 0,
|
||||||
|
"confused": 0,
|
||||||
|
"eyes": 0,
|
||||||
|
"heart": 0,
|
||||||
|
"hooray": 0,
|
||||||
|
"laugh": 0,
|
||||||
|
"rocket": 0,
|
||||||
|
"total_count": 0,
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action/issues/14/reactions"
|
||||||
|
},
|
||||||
|
"repository_url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"state": "open",
|
||||||
|
"timeline_url": "https://api.github.com/repos/docker/test-docker-action/issues/14/timeline",
|
||||||
|
"title": "foo",
|
||||||
|
"updated_at": "2022-04-19T09:10:26Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action/issues/14",
|
||||||
|
"user": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 5,
|
||||||
|
"open_issues_count": 5,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=master
|
GITHUB_BASE_REF=master
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_e00a951d-2585-4fac-b085-459d80e69a2f
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_ca953e95-2f41-4926-bc52-a1c8d90e94c1
|
||||||
GITHUB_EVENT_NAME=pull_request
|
GITHUB_EVENT_NAME=pull_request
|
||||||
GITHUB_EVENT_PATH=./__tests__/fixtures/event_pull_request.json
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_pull_request.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=pr
|
GITHUB_HEAD_REF=test-pr
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_e00a951d-2585-4fac-b085-459d80e69a2f
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_ca953e95-2f41-4926-bc52-a1c8d90e94c1
|
||||||
GITHUB_REF=refs/pull/2/merge
|
GITHUB_REF=refs/pull/15/merge
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=15/merge
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325972677
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=7
|
GITHUB_RUN_ID=2188688025
|
||||||
|
GITHUB_RUN_NUMBER=11
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=1e9249f05bfc090e0688b8fb9c1b347586add504
|
GITHUB_SHA=a9c8c5828b91be19d9728548b24759e352367ef1
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_ca953e95-2f41-4926-bc52-a1c8d90e94c1
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,35 +1,49 @@
|
|||||||
{
|
{
|
||||||
"action": "opened",
|
"action": "opened",
|
||||||
"number": 7,
|
"number": 15,
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
"pull_request": {
|
"pull_request": {
|
||||||
"_links": {
|
"_links": {
|
||||||
"comments": {
|
"comments": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/issues/7/comments"
|
"href": "https://api.github.com/repos/docker/test-docker-action/issues/15/comments"
|
||||||
},
|
},
|
||||||
"commits": {
|
"commits": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/7/commits"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/15/commits"
|
||||||
},
|
},
|
||||||
"html": {
|
"html": {
|
||||||
"href": "https://github.com/crazy-max/test-docker-action/pull/7"
|
"href": "https://github.com/docker/test-docker-action/pull/15"
|
||||||
},
|
},
|
||||||
"issue": {
|
"issue": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/issues/7"
|
"href": "https://api.github.com/repos/docker/test-docker-action/issues/15"
|
||||||
},
|
},
|
||||||
"review_comment": {
|
"review_comment": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/comments{/number}"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/comments{/number}"
|
||||||
},
|
},
|
||||||
"review_comments": {
|
"review_comments": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/7/comments"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/15/comments"
|
||||||
},
|
},
|
||||||
"self": {
|
"self": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/7"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/15"
|
||||||
},
|
},
|
||||||
"statuses": {
|
"statuses": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/0337b3a374a0b833cf127b9111ca8c5589d93616"
|
"href": "https://api.github.com/repos/docker/test-docker-action/statuses/3370e228f2209994d57af4427fe64e71bb79ac96"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active_lock_reason": null,
|
"active_lock_reason": null,
|
||||||
"additions": 0,
|
"additions": 1,
|
||||||
"assignee": null,
|
"assignee": null,
|
||||||
"assignees": [],
|
"assignees": [],
|
||||||
"author_association": "COLLABORATOR",
|
"author_association": "COLLABORATOR",
|
||||||
@@ -43,52 +57,53 @@
|
|||||||
"allow_merge_commit": true,
|
"allow_merge_commit": true,
|
||||||
"allow_rebase_merge": true,
|
"allow_rebase_merge": true,
|
||||||
"allow_squash_merge": true,
|
"allow_squash_merge": true,
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"allow_update_branch": false,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
"blobs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
"branches_url": "https://api.github.com/repos/crazy-max/test-docker-action/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
"clone_url": "https://github.com/crazy-max/test-docker-action.git",
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
"collaborators_url": "https://api.github.com/repos/crazy-max/test-docker-action/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/comments{/number}",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
"created_at": "2020-08-07T09:23:00Z",
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"delete_branch_on_merge": false,
|
"delete_branch_on_merge": false,
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
"description": "Test \"Docker\" Actions",
|
"description": "Test \"Docker\" Actions",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"forks": 1,
|
"forks": 1,
|
||||||
"forks_count": 1,
|
"forks_count": 1,
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
"full_name": "docker/test-docker-action",
|
"full_name": "docker/test-docker-action",
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
"git_url": "git://github.com/crazy-max/test-docker-action.git",
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_issues": false,
|
"has_issues": true,
|
||||||
"has_pages": false,
|
"has_pages": false,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
"id": 285789493,
|
"id": 285789493,
|
||||||
"is_template": false,
|
"is_template": false,
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
"language": "JavaScript",
|
"language": "JavaScript",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
"name": "MIT License",
|
"name": "MIT License",
|
||||||
@@ -96,88 +111,88 @@
|
|||||||
"spdx_id": "MIT",
|
"spdx_id": "MIT",
|
||||||
"url": "https://api.github.com/licenses/mit"
|
"url": "https://api.github.com/licenses/mit"
|
||||||
},
|
},
|
||||||
"merges_url": "https://api.github.com/repos/crazy-max/test-docker-action/merges",
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"name": "test-docker-action",
|
"name": "test-docker-action",
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
"open_issues": 5,
|
"open_issues": 6,
|
||||||
"open_issues_count": 5,
|
"open_issues_count": 6,
|
||||||
"owner": {
|
"owner": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 5429470,
|
"id": 5429470,
|
||||||
"login": "docker",
|
"login": "docker",
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "Organization",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": "2021-10-21T21:44:34Z",
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
"size": 714,
|
"size": 796,
|
||||||
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
"stargazers_count": 0,
|
"stargazers_count": 0,
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscription",
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
"topics": [],
|
"topics": [],
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
"updated_at": "2021-10-21T21:44:37Z",
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
"visibility": "private",
|
"visibility": "private",
|
||||||
"watchers": 0,
|
"watchers": 0,
|
||||||
"watchers_count": 0
|
"watchers_count": 0
|
||||||
},
|
},
|
||||||
"sha": "ce1a91a20f9e2c064bcd76a7b95e091f831cf653",
|
"sha": "266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"user": {
|
"user": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 5429470,
|
"id": 5429470,
|
||||||
"login": "docker",
|
"login": "docker",
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "Organization",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": null,
|
"body": null,
|
||||||
"changed_files": 0,
|
"changed_files": 1,
|
||||||
"closed_at": null,
|
"closed_at": null,
|
||||||
"comments": 0,
|
"comments": 0,
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/7/comments",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/issues/15/comments",
|
||||||
"commits": 1,
|
"commits": 1,
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/7/commits",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/pulls/15/commits",
|
||||||
"created_at": "2021-10-21T21:46:27Z",
|
"created_at": "2022-04-19T09:16:17Z",
|
||||||
"deletions": 0,
|
"deletions": 1,
|
||||||
"diff_url": "https://github.com/crazy-max/test-docker-action/pull/7.diff",
|
"diff_url": "https://github.com/docker/test-docker-action/pull/15.diff",
|
||||||
"draft": false,
|
"draft": false,
|
||||||
"head": {
|
"head": {
|
||||||
"label": "crazy-max:test-pr",
|
"label": "crazy-max:test-pr",
|
||||||
@@ -188,6 +203,7 @@
|
|||||||
"allow_merge_commit": true,
|
"allow_merge_commit": true,
|
||||||
"allow_rebase_merge": true,
|
"allow_rebase_merge": true,
|
||||||
"allow_squash_merge": true,
|
"allow_squash_merge": true,
|
||||||
|
"allow_update_branch": false,
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
||||||
@@ -232,7 +248,7 @@
|
|||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
||||||
"language": "Dockerfile",
|
"language": "JavaScript",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
@@ -260,7 +276,7 @@
|
|||||||
"id": 1951866,
|
"id": 1951866,
|
||||||
"login": "crazy-max",
|
"login": "crazy-max",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
@@ -271,7 +287,7 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": "2021-10-21T21:46:11Z",
|
"pushed_at": "2022-04-19T09:16:07Z",
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
||||||
"size": 151,
|
"size": 151,
|
||||||
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
||||||
@@ -285,13 +301,13 @@
|
|||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
||||||
"topics": [],
|
"topics": [],
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
||||||
"updated_at": "2021-07-15T07:56:00Z",
|
"updated_at": "2022-04-19T09:13:10Z",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
||||||
"visibility": "private",
|
"visibility": "private",
|
||||||
"watchers": 0,
|
"watchers": 0,
|
||||||
"watchers_count": 0
|
"watchers_count": 0
|
||||||
},
|
},
|
||||||
"sha": "0337b3a374a0b833cf127b9111ca8c5589d93616",
|
"sha": "3370e228f2209994d57af4427fe64e71bb79ac96",
|
||||||
"user": {
|
"user": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
@@ -303,7 +319,7 @@
|
|||||||
"id": 1951866,
|
"id": 1951866,
|
||||||
"login": "crazy-max",
|
"login": "crazy-max",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
@@ -313,9 +329,9 @@
|
|||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action/pull/7",
|
"html_url": "https://github.com/docker/test-docker-action/pull/15",
|
||||||
"id": 763682530,
|
"id": 912840343,
|
||||||
"issue_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/7",
|
"issue_url": "https://api.github.com/repos/docker/test-docker-action/issues/15",
|
||||||
"labels": [],
|
"labels": [],
|
||||||
"locked": false,
|
"locked": false,
|
||||||
"maintainer_can_modify": true,
|
"maintainer_can_modify": true,
|
||||||
@@ -326,20 +342,20 @@
|
|||||||
"merged_at": null,
|
"merged_at": null,
|
||||||
"merged_by": null,
|
"merged_by": null,
|
||||||
"milestone": null,
|
"milestone": null,
|
||||||
"node_id": "PR_kwDOEQjNNc4thN7i",
|
"node_id": "PR_kwDOEQjNNc42aNaX",
|
||||||
"number": 7,
|
"number": 15,
|
||||||
"patch_url": "https://github.com/crazy-max/test-docker-action/pull/7.patch",
|
"patch_url": "https://github.com/docker/test-docker-action/pull/15.patch",
|
||||||
"rebaseable": null,
|
"rebaseable": null,
|
||||||
"requested_reviewers": [],
|
"requested_reviewers": [],
|
||||||
"requested_teams": [],
|
"requested_teams": [],
|
||||||
"review_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/comments{/number}",
|
"review_comment_url": "https://api.github.com/repos/docker/test-docker-action/pulls/comments{/number}",
|
||||||
"review_comments": 0,
|
"review_comments": 0,
|
||||||
"review_comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/7/comments",
|
"review_comments_url": "https://api.github.com/repos/docker/test-docker-action/pulls/15/comments",
|
||||||
"state": "open",
|
"state": "open",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/0337b3a374a0b833cf127b9111ca8c5589d93616",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/3370e228f2209994d57af4427fe64e71bb79ac96",
|
||||||
"title": "Trigger notification",
|
"title": "small change",
|
||||||
"updated_at": "2021-10-21T21:46:27Z",
|
"updated_at": "2022-04-19T09:16:17Z",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/7",
|
"url": "https://api.github.com/repos/docker/test-docker-action/pulls/15",
|
||||||
"user": {
|
"user": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
@@ -351,7 +367,7 @@
|
|||||||
"id": 1951866,
|
"id": 1951866,
|
||||||
"login": "crazy-max",
|
"login": "crazy-max",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
@@ -363,51 +379,51 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"allow_forking": true,
|
"allow_forking": true,
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
"blobs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
"branches_url": "https://api.github.com/repos/crazy-max/test-docker-action/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
"clone_url": "https://github.com/crazy-max/test-docker-action.git",
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
"collaborators_url": "https://api.github.com/repos/crazy-max/test-docker-action/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/comments{/number}",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
"created_at": "2020-08-07T09:23:00Z",
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
"description": "Test \"Docker\" Actions",
|
"description": "Test \"Docker\" Actions",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"forks": 1,
|
"forks": 1,
|
||||||
"forks_count": 1,
|
"forks_count": 1,
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
"full_name": "docker/test-docker-action",
|
"full_name": "docker/test-docker-action",
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
"git_url": "git://github.com/crazy-max/test-docker-action.git",
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_issues": false,
|
"has_issues": true,
|
||||||
"has_pages": false,
|
"has_pages": false,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
"id": 285789493,
|
"id": 285789493,
|
||||||
"is_template": false,
|
"is_template": false,
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
"language": "JavaScript",
|
"language": "JavaScript",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
"name": "MIT License",
|
"name": "MIT License",
|
||||||
@@ -415,52 +431,52 @@
|
|||||||
"spdx_id": "MIT",
|
"spdx_id": "MIT",
|
||||||
"url": "https://api.github.com/licenses/mit"
|
"url": "https://api.github.com/licenses/mit"
|
||||||
},
|
},
|
||||||
"merges_url": "https://api.github.com/repos/crazy-max/test-docker-action/merges",
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"name": "test-docker-action",
|
"name": "test-docker-action",
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
"open_issues": 5,
|
"open_issues": 6,
|
||||||
"open_issues_count": 5,
|
"open_issues_count": 6,
|
||||||
"owner": {
|
"owner": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 5429470,
|
"id": 5429470,
|
||||||
"login": "docker",
|
"login": "docker",
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "Organization",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": "2021-10-21T21:44:34Z",
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
"size": 714,
|
"size": 796,
|
||||||
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
"stargazers_count": 0,
|
"stargazers_count": 0,
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscription",
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
"topics": [],
|
"topics": [],
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
"updated_at": "2021-10-21T21:44:37Z",
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
"visibility": "private",
|
"visibility": "private",
|
||||||
"watchers": 0,
|
"watchers": 0,
|
||||||
"watchers_count": 0
|
"watchers_count": 0
|
||||||
@@ -476,7 +492,7 @@
|
|||||||
"id": 1951866,
|
"id": 1951866,
|
||||||
"login": "crazy-max",
|
"login": "crazy-max",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
GITHUB_ACTION_REF=
|
GITHUB_ACTION_REF=
|
||||||
@@ -6,20 +6,25 @@ GITHUB_ACTION_REPOSITORY=
|
|||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=master
|
GITHUB_BASE_REF=master
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_cc4da131-0660-4771-8663-0f96c0fc944f
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_2f69f48f-fb93-475f-a6a5-91dc7866f518
|
||||||
GITHUB_EVENT_NAME=pull_request_target
|
GITHUB_EVENT_NAME=pull_request_target
|
||||||
GITHUB_EVENT_PATH=./__tests__/fixtures/event_pull_request_target.json
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_pull_request_target.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=test-pr-target
|
GITHUB_HEAD_REF=test-pr
|
||||||
GITHUB_JOB=build
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_cc4da131-0660-4771-8663-0f96c0fc944f
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_2f69f48f-fb93-475f-a6a5-91dc7866f518
|
||||||
GITHUB_REF=refs/heads/master
|
GITHUB_REF=refs/heads/master
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=master
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=867725119
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=12
|
GITHUB_RUN_ID=2188688000
|
||||||
|
GITHUB_RUN_NUMBER=10
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=f24900bfcfee76d8055c8421a164c7e57ad20e68
|
GITHUB_SHA=266574110acf203503badf966df2ea24b5d732d7
|
||||||
GITHUB_WORKFLOW=push-ghcr
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_2f69f48f-fb93-475f-a6a5-91dc7866f518
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,93 +1,109 @@
|
|||||||
{
|
{
|
||||||
"action": "synchronize",
|
"action": "opened",
|
||||||
"after": "57a8fb29acfb3c1e27c66226a8993fb4ef722e26",
|
"number": 15,
|
||||||
"before": "18c4c149d695bdeba42643ef8343a6b8e466970c",
|
"organization": {
|
||||||
"number": 8,
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
"pull_request": {
|
"pull_request": {
|
||||||
"_links": {
|
"_links": {
|
||||||
"comments": {
|
"comments": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/issues/8/comments"
|
"href": "https://api.github.com/repos/docker/test-docker-action/issues/15/comments"
|
||||||
},
|
},
|
||||||
"commits": {
|
"commits": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/8/commits"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/15/commits"
|
||||||
},
|
},
|
||||||
"html": {
|
"html": {
|
||||||
"href": "https://github.com/crazy-max/test-docker-action/pull/8"
|
"href": "https://github.com/docker/test-docker-action/pull/15"
|
||||||
},
|
},
|
||||||
"issue": {
|
"issue": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/issues/8"
|
"href": "https://api.github.com/repos/docker/test-docker-action/issues/15"
|
||||||
},
|
},
|
||||||
"review_comment": {
|
"review_comment": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/comments{/number}"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/comments{/number}"
|
||||||
},
|
},
|
||||||
"review_comments": {
|
"review_comments": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/8/comments"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/15/comments"
|
||||||
},
|
},
|
||||||
"self": {
|
"self": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/8"
|
"href": "https://api.github.com/repos/docker/test-docker-action/pulls/15"
|
||||||
},
|
},
|
||||||
"statuses": {
|
"statuses": {
|
||||||
"href": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/57a8fb29acfb3c1e27c66226a8993fb4ef722e26"
|
"href": "https://api.github.com/repos/docker/test-docker-action/statuses/3370e228f2209994d57af4427fe64e71bb79ac96"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active_lock_reason": null,
|
"active_lock_reason": null,
|
||||||
"additions": 1,
|
"additions": 1,
|
||||||
"assignee": null,
|
"assignee": null,
|
||||||
"assignees": [],
|
"assignees": [],
|
||||||
"author_association": "OWNER",
|
"author_association": "COLLABORATOR",
|
||||||
"auto_merge": null,
|
"auto_merge": null,
|
||||||
"base": {
|
"base": {
|
||||||
"label": "crazy-max:master",
|
"label": "docker:master",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"repo": {
|
"repo": {
|
||||||
|
"allow_auto_merge": false,
|
||||||
|
"allow_forking": true,
|
||||||
"allow_merge_commit": true,
|
"allow_merge_commit": true,
|
||||||
"allow_rebase_merge": true,
|
"allow_rebase_merge": true,
|
||||||
"allow_squash_merge": true,
|
"allow_squash_merge": true,
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"allow_update_branch": false,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
"blobs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
"branches_url": "https://api.github.com/repos/crazy-max/test-docker-action/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
"clone_url": "https://github.com/crazy-max/test-docker-action.git",
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
"collaborators_url": "https://api.github.com/repos/crazy-max/test-docker-action/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/comments{/number}",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
"created_at": "2020-08-07T09:23:00Z",
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"delete_branch_on_merge": false,
|
"delete_branch_on_merge": false,
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
"description": "Test \"Docker\" Actions",
|
"description": "Test \"Docker\" Actions",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"forks": 4,
|
"forks": 1,
|
||||||
"forks_count": 4,
|
"forks_count": 1,
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
"full_name": "crazy-max/test-docker-action",
|
"full_name": "docker/test-docker-action",
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
"git_url": "git://github.com/crazy-max/test-docker-action.git",
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_issues": false,
|
"has_issues": true,
|
||||||
"has_pages": false,
|
"has_pages": false,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
"id": 285789493,
|
"id": 285789493,
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
"is_template": false,
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
"language": "Dockerfile",
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
"name": "MIT License",
|
"name": "MIT License",
|
||||||
@@ -95,94 +111,99 @@
|
|||||||
"spdx_id": "MIT",
|
"spdx_id": "MIT",
|
||||||
"url": "https://api.github.com/licenses/mit"
|
"url": "https://api.github.com/licenses/mit"
|
||||||
},
|
},
|
||||||
"merges_url": "https://api.github.com/repos/crazy-max/test-docker-action/merges",
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"name": "test-docker-action",
|
"name": "test-docker-action",
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
"open_issues": 4,
|
"open_issues": 6,
|
||||||
"open_issues_count": 4,
|
"open_issues_count": 6,
|
||||||
"owner": {
|
"owner": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 1951866,
|
"id": 5429470,
|
||||||
"login": "crazy-max",
|
"login": "docker",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "User",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
},
|
},
|
||||||
"private": false,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": "2021-05-23T01:38:41Z",
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
"size": 137,
|
"size": 796,
|
||||||
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
"stargazers_count": 3,
|
"stargazers_count": 0,
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscription",
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"topics": [],
|
||||||
"updated_at": "2021-05-23T01:37:33Z",
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
"watchers": 3,
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
"watchers_count": 3
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
},
|
},
|
||||||
"sha": "2b13c4617af78dc00a6304390682f234a53f3665",
|
"sha": "266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"user": {
|
"user": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 1951866,
|
"id": 5429470,
|
||||||
"login": "crazy-max",
|
"login": "docker",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "User",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": "",
|
"body": null,
|
||||||
"changed_files": 1,
|
"changed_files": 1,
|
||||||
"closed_at": null,
|
"closed_at": null,
|
||||||
"comments": 0,
|
"comments": 0,
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/8/comments",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/issues/15/comments",
|
||||||
"commits": 2,
|
"commits": 1,
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/8/commits",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/pulls/15/commits",
|
||||||
"created_at": "2021-05-23T01:24:57Z",
|
"created_at": "2022-04-19T09:16:17Z",
|
||||||
"deletions": 1,
|
"deletions": 1,
|
||||||
"diff_url": "https://github.com/crazy-max/test-docker-action/pull/8.diff",
|
"diff_url": "https://github.com/docker/test-docker-action/pull/15.diff",
|
||||||
"draft": false,
|
"draft": false,
|
||||||
"head": {
|
"head": {
|
||||||
"label": "crazy-max:test-pr-target",
|
"label": "crazy-max:test-pr",
|
||||||
"ref": "test-pr-target",
|
"ref": "test-pr",
|
||||||
"repo": {
|
"repo": {
|
||||||
|
"allow_auto_merge": false,
|
||||||
|
"allow_forking": true,
|
||||||
"allow_merge_commit": true,
|
"allow_merge_commit": true,
|
||||||
"allow_rebase_merge": true,
|
"allow_rebase_merge": true,
|
||||||
"allow_squash_merge": true,
|
"allow_squash_merge": true,
|
||||||
|
"allow_update_branch": false,
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
||||||
@@ -195,7 +216,7 @@
|
|||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
||||||
"created_at": "2020-08-07T09:23:00Z",
|
"created_at": "2021-07-11T17:34:22Z",
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"delete_branch_on_merge": false,
|
"delete_branch_on_merge": false,
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
||||||
@@ -203,9 +224,9 @@
|
|||||||
"disabled": false,
|
"disabled": false,
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
||||||
"fork": false,
|
"fork": true,
|
||||||
"forks": 4,
|
"forks": 0,
|
||||||
"forks_count": 4,
|
"forks_count": 0,
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
||||||
"full_name": "crazy-max/test-docker-action",
|
"full_name": "crazy-max/test-docker-action",
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
||||||
@@ -215,18 +236,19 @@
|
|||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_issues": false,
|
"has_issues": false,
|
||||||
"has_pages": false,
|
"has_pages": false,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_wiki": false,
|
"has_wiki": false,
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
"html_url": "https://github.com/crazy-max/test-docker-action",
|
||||||
"id": 285789493,
|
"id": 385013169,
|
||||||
|
"is_template": false,
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
||||||
"language": "Dockerfile",
|
"language": "JavaScript",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
@@ -239,10 +261,10 @@
|
|||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"name": "test-docker-action",
|
"name": "test-docker-action",
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
"node_id": "MDEwOlJlcG9zaXRvcnkzODUwMTMxNjk=",
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
||||||
"open_issues": 4,
|
"open_issues": 0,
|
||||||
"open_issues_count": 4,
|
"open_issues_count": 0,
|
||||||
"owner": {
|
"owner": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
@@ -263,13 +285,13 @@
|
|||||||
"type": "User",
|
"type": "User",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
},
|
},
|
||||||
"private": false,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": "2021-05-23T01:38:41Z",
|
"pushed_at": "2022-04-19T09:16:07Z",
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
||||||
"size": 137,
|
"size": 151,
|
||||||
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
||||||
"stargazers_count": 3,
|
"stargazers_count": 0,
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
||||||
@@ -277,13 +299,15 @@
|
|||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
||||||
"updated_at": "2021-05-23T01:37:33Z",
|
"updated_at": "2022-04-19T09:13:10Z",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
||||||
"watchers": 3,
|
"visibility": "private",
|
||||||
"watchers_count": 3
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
},
|
},
|
||||||
"sha": "57a8fb29acfb3c1e27c66226a8993fb4ef722e26",
|
"sha": "3370e228f2209994d57af4427fe64e71bb79ac96",
|
||||||
"user": {
|
"user": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
@@ -305,33 +329,33 @@
|
|||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action/pull/8",
|
"html_url": "https://github.com/docker/test-docker-action/pull/15",
|
||||||
"id": 650710002,
|
"id": 912840343,
|
||||||
"issue_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/8",
|
"issue_url": "https://api.github.com/repos/docker/test-docker-action/issues/15",
|
||||||
"labels": [],
|
"labels": [],
|
||||||
"locked": false,
|
"locked": false,
|
||||||
"maintainer_can_modify": false,
|
"maintainer_can_modify": true,
|
||||||
"merge_commit_sha": "823b99c3c3cf5421e6ff0514b13a44bf21c7a4f0",
|
"merge_commit_sha": null,
|
||||||
"mergeable": null,
|
"mergeable": null,
|
||||||
"mergeable_state": "unknown",
|
"mergeable_state": "unknown",
|
||||||
"merged": false,
|
"merged": false,
|
||||||
"merged_at": null,
|
"merged_at": null,
|
||||||
"merged_by": null,
|
"merged_by": null,
|
||||||
"milestone": null,
|
"milestone": null,
|
||||||
"node_id": "MDExOlB1bGxSZXF1ZXN0NjUwNzEwMDAy",
|
"node_id": "PR_kwDOEQjNNc42aNaX",
|
||||||
"number": 8,
|
"number": 15,
|
||||||
"patch_url": "https://github.com/crazy-max/test-docker-action/pull/8.patch",
|
"patch_url": "https://github.com/docker/test-docker-action/pull/15.patch",
|
||||||
"rebaseable": null,
|
"rebaseable": null,
|
||||||
"requested_reviewers": [],
|
"requested_reviewers": [],
|
||||||
"requested_teams": [],
|
"requested_teams": [],
|
||||||
"review_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/comments{/number}",
|
"review_comment_url": "https://api.github.com/repos/docker/test-docker-action/pulls/comments{/number}",
|
||||||
"review_comments": 0,
|
"review_comments": 0,
|
||||||
"review_comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/8/comments",
|
"review_comments_url": "https://api.github.com/repos/docker/test-docker-action/pulls/15/comments",
|
||||||
"state": "open",
|
"state": "open",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/57a8fb29acfb3c1e27c66226a8993fb4ef722e26",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/3370e228f2209994d57af4427fe64e71bb79ac96",
|
||||||
"title": "Test PR target",
|
"title": "small change",
|
||||||
"updated_at": "2021-05-23T01:38:42Z",
|
"updated_at": "2022-04-19T09:16:17Z",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls/8",
|
"url": "https://api.github.com/repos/docker/test-docker-action/pulls/15",
|
||||||
"user": {
|
"user": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
@@ -354,50 +378,52 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
"blobs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
"branches_url": "https://api.github.com/repos/crazy-max/test-docker-action/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
"clone_url": "https://github.com/crazy-max/test-docker-action.git",
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
"collaborators_url": "https://api.github.com/repos/crazy-max/test-docker-action/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/comments{/number}",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
"created_at": "2020-08-07T09:23:00Z",
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
"description": "Test \"Docker\" Actions",
|
"description": "Test \"Docker\" Actions",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"forks": 4,
|
"forks": 1,
|
||||||
"forks_count": 4,
|
"forks_count": 1,
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
"full_name": "crazy-max/test-docker-action",
|
"full_name": "docker/test-docker-action",
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
"git_url": "git://github.com/crazy-max/test-docker-action.git",
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_issues": false,
|
"has_issues": true,
|
||||||
"has_pages": false,
|
"has_pages": false,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
"id": 285789493,
|
"id": 285789493,
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
"is_template": false,
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
"language": "Dockerfile",
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
"name": "MIT License",
|
"name": "MIT License",
|
||||||
@@ -405,53 +431,55 @@
|
|||||||
"spdx_id": "MIT",
|
"spdx_id": "MIT",
|
||||||
"url": "https://api.github.com/licenses/mit"
|
"url": "https://api.github.com/licenses/mit"
|
||||||
},
|
},
|
||||||
"merges_url": "https://api.github.com/repos/crazy-max/test-docker-action/merges",
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"name": "test-docker-action",
|
"name": "test-docker-action",
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
"open_issues": 4,
|
"open_issues": 6,
|
||||||
"open_issues_count": 4,
|
"open_issues_count": 6,
|
||||||
"owner": {
|
"owner": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 1951866,
|
"id": 5429470,
|
||||||
"login": "crazy-max",
|
"login": "docker",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "User",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
},
|
},
|
||||||
"private": false,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": "2021-05-23T01:38:41Z",
|
"pushed_at": "2022-04-19T09:04:50Z",
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
"size": 137,
|
"size": 796,
|
||||||
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
"stargazers_count": 3,
|
"stargazers_count": 0,
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscription",
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"topics": [],
|
||||||
"updated_at": "2021-05-23T01:37:33Z",
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
"url": "https://api.github.com/repos/crazy-max/test-docker-action",
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
"watchers": 3,
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
"watchers_count": 3
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
},
|
},
|
||||||
"sender": {
|
"sender": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
|
||||||
GITHUB_ACTIONS=true
|
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
|
||||||
GITHUB_ACTOR=crazy-max
|
|
||||||
GITHUB_API_URL=https://api.github.com
|
|
||||||
GITHUB_BASE_REF=
|
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_89a016e8-e5b7-4039-a67e-c8da08f87a0c
|
|
||||||
GITHUB_EVENT_NAME=push
|
|
||||||
GITHUB_EVENT_PATH=./__tests__/fixtures/event_push.json
|
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
|
||||||
GITHUB_HEAD_REF=
|
|
||||||
GITHUB_JOB=event
|
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_89a016e8-e5b7-4039-a67e-c8da08f87a0c
|
|
||||||
GITHUB_REF=refs/heads/dev
|
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
|
||||||
GITHUB_RETENTION_DAYS=90
|
|
||||||
GITHUB_RUN_ID=325957516
|
|
||||||
GITHUB_RUN_NUMBER=1
|
|
||||||
GITHUB_SERVER_URL=https://github.com
|
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
|
||||||
GITHUB_WORKFLOW=event
|
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
|
||||||
@@ -1,181 +0,0 @@
|
|||||||
{
|
|
||||||
"after": "ce1a91a20f9e2c064bcd76a7b95e091f831cf653",
|
|
||||||
"base_ref": null,
|
|
||||||
"before": "b0d66d13d5e8c795e0fc4b6c732b6b521807eca7",
|
|
||||||
"commits": [
|
|
||||||
{
|
|
||||||
"author": {
|
|
||||||
"email": "crazy-max@users.noreply.github.com",
|
|
||||||
"name": "CrazyMax",
|
|
||||||
"username": "crazy-max"
|
|
||||||
},
|
|
||||||
"committer": {
|
|
||||||
"email": "crazy-max@users.noreply.github.com",
|
|
||||||
"name": "CrazyMax",
|
|
||||||
"username": "crazy-max"
|
|
||||||
},
|
|
||||||
"distinct": true,
|
|
||||||
"id": "ce1a91a20f9e2c064bcd76a7b95e091f831cf653",
|
|
||||||
"message": "Fix workflow",
|
|
||||||
"timestamp": "2021-10-21T23:44:33+02:00",
|
|
||||||
"tree_id": "8e46bf0c7fd95050deb02b11f0bc8c475c7428f3",
|
|
||||||
"url": "https://github.com/crazy-max/test-docker-action/commit/ce1a91a20f9e2c064bcd76a7b95e091f831cf653"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"compare": "https://github.com/crazy-max/test-docker-action/compare/b0d66d13d5e8...ce1a91a20f9e",
|
|
||||||
"created": false,
|
|
||||||
"deleted": false,
|
|
||||||
"forced": false,
|
|
||||||
"head_commit": {
|
|
||||||
"author": {
|
|
||||||
"email": "crazy-max@users.noreply.github.com",
|
|
||||||
"name": "CrazyMax",
|
|
||||||
"username": "crazy-max"
|
|
||||||
},
|
|
||||||
"committer": {
|
|
||||||
"email": "crazy-max@users.noreply.github.com",
|
|
||||||
"name": "CrazyMax",
|
|
||||||
"username": "crazy-max"
|
|
||||||
},
|
|
||||||
"distinct": true,
|
|
||||||
"id": "ce1a91a20f9e2c064bcd76a7b95e091f831cf653",
|
|
||||||
"message": "Fix workflow",
|
|
||||||
"timestamp": "2021-10-21T23:44:33+02:00",
|
|
||||||
"tree_id": "8e46bf0c7fd95050deb02b11f0bc8c475c7428f3",
|
|
||||||
"url": "https://github.com/crazy-max/test-docker-action/commit/ce1a91a20f9e2c064bcd76a7b95e091f831cf653"
|
|
||||||
},
|
|
||||||
"pusher": {
|
|
||||||
"email": "crazy-max@users.noreply.github.com",
|
|
||||||
"name": "crazy-max"
|
|
||||||
},
|
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"repository": {
|
|
||||||
"allow_forking": true,
|
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
|
||||||
"archived": false,
|
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
|
||||||
"blobs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/blobs{/sha}",
|
|
||||||
"branches_url": "https://api.github.com/repos/crazy-max/test-docker-action/branches{/branch}",
|
|
||||||
"clone_url": "https://github.com/crazy-max/test-docker-action.git",
|
|
||||||
"collaborators_url": "https://api.github.com/repos/crazy-max/test-docker-action/collaborators{/collaborator}",
|
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/comments{/number}",
|
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/commits{/sha}",
|
|
||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
|
||||||
"created_at": 1596792180,
|
|
||||||
"default_branch": "master",
|
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
|
||||||
"description": "Test \"Docker\" Actions",
|
|
||||||
"disabled": false,
|
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
|
||||||
"fork": false,
|
|
||||||
"forks": 1,
|
|
||||||
"forks_count": 1,
|
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
|
||||||
"full_name": "crazy-max/test-docker-action",
|
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
|
||||||
"git_refs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/refs{/sha}",
|
|
||||||
"git_tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/tags{/sha}",
|
|
||||||
"git_url": "git://github.com/crazy-max/test-docker-action.git",
|
|
||||||
"has_downloads": true,
|
|
||||||
"has_issues": false,
|
|
||||||
"has_pages": false,
|
|
||||||
"has_projects": false,
|
|
||||||
"has_wiki": false,
|
|
||||||
"homepage": "",
|
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
|
||||||
"id": 285789493,
|
|
||||||
"is_template": false,
|
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
|
||||||
"language": "JavaScript",
|
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
|
||||||
"license": {
|
|
||||||
"key": "mit",
|
|
||||||
"name": "MIT License",
|
|
||||||
"node_id": "MDc6TGljZW5zZTEz",
|
|
||||||
"spdx_id": "MIT",
|
|
||||||
"url": "https://api.github.com/licenses/mit"
|
|
||||||
},
|
|
||||||
"master_branch": "master",
|
|
||||||
"merges_url": "https://api.github.com/repos/crazy-max/test-docker-action/merges",
|
|
||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
|
||||||
"mirror_url": null,
|
|
||||||
"name": "test-docker-action",
|
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
|
||||||
"open_issues": 4,
|
|
||||||
"open_issues_count": 4,
|
|
||||||
"organization": "docker",
|
|
||||||
"owner": {
|
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
|
||||||
"email": "info@docker.com",
|
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
|
||||||
"gravatar_id": "",
|
|
||||||
"html_url": "https://github.com/crazy-max",
|
|
||||||
"id": 5429470,
|
|
||||||
"login": "docker",
|
|
||||||
"name": "docker",
|
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
|
||||||
"site_admin": false,
|
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
|
||||||
"type": "Organization",
|
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
|
||||||
},
|
|
||||||
"private": true,
|
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
|
||||||
"pushed_at": 1634852674,
|
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
|
||||||
"size": 714,
|
|
||||||
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
|
||||||
"stargazers": 0,
|
|
||||||
"stargazers_count": 0,
|
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
|
||||||
"subscription_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscription",
|
|
||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
|
||||||
"topics": [],
|
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
|
||||||
"updated_at": "2021-10-21T21:43:51Z",
|
|
||||||
"url": "https://github.com/crazy-max/test-docker-action",
|
|
||||||
"visibility": "private",
|
|
||||||
"watchers": 0,
|
|
||||||
"watchers_count": 0
|
|
||||||
},
|
|
||||||
"sender": {
|
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
|
||||||
"gravatar_id": "",
|
|
||||||
"html_url": "https://github.com/crazy-max",
|
|
||||||
"id": 1951866,
|
|
||||||
"login": "crazy-max",
|
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
|
||||||
"site_admin": false,
|
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
|
||||||
"type": "User",
|
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
|
||||||
GITHUB_ACTIONS=true
|
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
|
||||||
GITHUB_ACTOR=crazy-max
|
|
||||||
GITHUB_API_URL=https://api.github.com
|
|
||||||
GITHUB_BASE_REF=
|
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_89a016e8-e5b7-4039-a67e-c8da08f87a0c
|
|
||||||
GITHUB_EVENT_NAME=push
|
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
|
||||||
GITHUB_HEAD_REF=
|
|
||||||
GITHUB_JOB=event
|
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_89a016e8-e5b7-4039-a67e-c8da08f87a0c
|
|
||||||
GITHUB_REF=refs/heads/master
|
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
|
||||||
GITHUB_RETENTION_DAYS=90
|
|
||||||
GITHUB_RUN_ID=325957516
|
|
||||||
GITHUB_RUN_NUMBER=1
|
|
||||||
GITHUB_SERVER_URL=https://github.com
|
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
|
||||||
GITHUB_WORKFLOW=event
|
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
|
||||||
30
__tests__/fixtures/event_push_dev.env
Normal file
30
__tests__/fixtures/event_push_dev.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_dce158a5-37b3-4081-8414-32238d5cfa7b
|
||||||
|
GITHUB_EVENT_NAME=push
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_push_dev.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_dce158a5-37b3-4081-8414-32238d5cfa7b
|
||||||
|
GITHUB_REF=refs/heads/dev
|
||||||
|
GITHUB_REF_NAME=dev
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188748038
|
||||||
|
GITHUB_RUN_NUMBER=15
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_dce158a5-37b3-4081-8414-32238d5cfa7b
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
195
__tests__/fixtures/event_push_dev.json
Normal file
195
__tests__/fixtures/event_push_dev.json
Normal file
@@ -0,0 +1,195 @@
|
|||||||
|
{
|
||||||
|
"after": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
|
"base_ref": null,
|
||||||
|
"before": "5f3331d7f7044c18ca9f12c77d961c4d7cf3276a",
|
||||||
|
"commits": [
|
||||||
|
{
|
||||||
|
"author": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"distinct": true,
|
||||||
|
"id": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
|
"message": "hello dev",
|
||||||
|
"timestamp": "2022-04-19T11:27:24+02:00",
|
||||||
|
"tree_id": "d2c60af597e863787d2d27f569e30495b0b92820",
|
||||||
|
"url": "https://github.com/docker/test-docker-action/commit/860c1904a1ce19322e91ac35af1ab07466440c37"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"compare": "https://github.com/docker/test-docker-action/compare/5f3331d7f704...860c1904a1ce",
|
||||||
|
"created": false,
|
||||||
|
"deleted": false,
|
||||||
|
"forced": false,
|
||||||
|
"head_commit": {
|
||||||
|
"author": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"distinct": true,
|
||||||
|
"id": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
|
"message": "hello dev",
|
||||||
|
"timestamp": "2022-04-19T11:27:24+02:00",
|
||||||
|
"tree_id": "d2c60af597e863787d2d27f569e30495b0b92820",
|
||||||
|
"url": "https://github.com/docker/test-docker-action/commit/860c1904a1ce19322e91ac35af1ab07466440c37"
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"pusher": {
|
||||||
|
"email": "github@crazymax.dev",
|
||||||
|
"name": "crazy-max"
|
||||||
|
},
|
||||||
|
"ref": "refs/heads/dev",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": 1596792180,
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"master_branch": "master",
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 6,
|
||||||
|
"open_issues_count": 6,
|
||||||
|
"organization": "docker",
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"email": "info@docker.com",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"name": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": 1650360446,
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers": 0,
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://github.com/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_89a016e8-e5b7-4039-a67e-c8da08f87a0c
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_5d7d8f7f-4b47-4f4c-b32a-e7fa634790c9
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_push_invalidchars.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_89a016e8-e5b7-4039-a67e-c8da08f87a0c
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_5d7d8f7f-4b47-4f4c-b32a-e7fa634790c9
|
||||||
GITHUB_REF="refs/heads/my/feature#1245"
|
GITHUB_REF=refs/heads/my/feature#1245
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=my/feature#1245
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325957516
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=1
|
GITHUB_RUN_ID=2188792787
|
||||||
|
GITHUB_RUN_NUMBER=19
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=983315b5e8d46e46fc4c49869e85e7ee5fb289ba
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_5d7d8f7f-4b47-4f4c-b32a-e7fa634790c9
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
195
__tests__/fixtures/event_push_invalidchars.json
Normal file
195
__tests__/fixtures/event_push_invalidchars.json
Normal file
@@ -0,0 +1,195 @@
|
|||||||
|
{
|
||||||
|
"after": "983315b5e8d46e46fc4c49869e85e7ee5fb289ba",
|
||||||
|
"base_ref": null,
|
||||||
|
"before": "4af2cc040e1cee6ee91e2491f34e5787121eb902",
|
||||||
|
"commits": [
|
||||||
|
{
|
||||||
|
"author": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"distinct": true,
|
||||||
|
"id": "983315b5e8d46e46fc4c49869e85e7ee5fb289ba",
|
||||||
|
"message": "feature 1245",
|
||||||
|
"timestamp": "2022-04-19T11:36:08+02:00",
|
||||||
|
"tree_id": "e9f7b0bf689a49a4792d518088710dadb52d7e9a",
|
||||||
|
"url": "https://github.com/docker/test-docker-action/commit/983315b5e8d46e46fc4c49869e85e7ee5fb289ba"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"compare": "https://github.com/docker/test-docker-action/compare/4af2cc040e1c...983315b5e8d4",
|
||||||
|
"created": false,
|
||||||
|
"deleted": false,
|
||||||
|
"forced": true,
|
||||||
|
"head_commit": {
|
||||||
|
"author": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"distinct": true,
|
||||||
|
"id": "983315b5e8d46e46fc4c49869e85e7ee5fb289ba",
|
||||||
|
"message": "feature 1245",
|
||||||
|
"timestamp": "2022-04-19T11:36:08+02:00",
|
||||||
|
"tree_id": "e9f7b0bf689a49a4792d518088710dadb52d7e9a",
|
||||||
|
"url": "https://github.com/docker/test-docker-action/commit/983315b5e8d46e46fc4c49869e85e7ee5fb289ba"
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"pusher": {
|
||||||
|
"email": "github@crazymax.dev",
|
||||||
|
"name": "crazy-max"
|
||||||
|
},
|
||||||
|
"ref": "refs/heads/my/feature#1245",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": 1596792180,
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"master_branch": "master",
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 6,
|
||||||
|
"open_issues_count": 6,
|
||||||
|
"organization": "docker",
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"email": "info@docker.com",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"name": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": 1650360972,
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers": 0,
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://github.com/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
30
__tests__/fixtures/event_push_master.env
Normal file
30
__tests__/fixtures/event_push_master.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_f5600b76-1b08-404a-8e90-7f2cd620928b
|
||||||
|
GITHUB_EVENT_NAME=push
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_push_master.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_f5600b76-1b08-404a-8e90-7f2cd620928b
|
||||||
|
GITHUB_REF=refs/heads/master
|
||||||
|
GITHUB_REF_NAME=master
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188627423
|
||||||
|
GITHUB_RUN_NUMBER=6
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=266574110acf203503badf966df2ea24b5d732d7
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_f5600b76-1b08-404a-8e90-7f2cd620928b
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
195
__tests__/fixtures/event_push_master.json
Normal file
195
__tests__/fixtures/event_push_master.json
Normal file
@@ -0,0 +1,195 @@
|
|||||||
|
{
|
||||||
|
"after": "266574110acf203503badf966df2ea24b5d732d7",
|
||||||
|
"base_ref": null,
|
||||||
|
"before": "ef1a8e2e6a91ffa6837f19f7743405b709363225",
|
||||||
|
"commits": [
|
||||||
|
{
|
||||||
|
"author": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"distinct": true,
|
||||||
|
"id": "266574110acf203503badf966df2ea24b5d732d7",
|
||||||
|
"message": "more events",
|
||||||
|
"timestamp": "2022-04-19T11:04:39+02:00",
|
||||||
|
"tree_id": "03b667a843ece33c75ef5eb23ca5bc8fc3b876e4",
|
||||||
|
"url": "https://github.com/docker/test-docker-action/commit/266574110acf203503badf966df2ea24b5d732d7"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"compare": "https://github.com/docker/test-docker-action/compare/ef1a8e2e6a91...266574110acf",
|
||||||
|
"created": false,
|
||||||
|
"deleted": false,
|
||||||
|
"forced": false,
|
||||||
|
"head_commit": {
|
||||||
|
"author": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
|
"name": "CrazyMax",
|
||||||
|
"username": "crazy-max"
|
||||||
|
},
|
||||||
|
"distinct": true,
|
||||||
|
"id": "266574110acf203503badf966df2ea24b5d732d7",
|
||||||
|
"message": "more events",
|
||||||
|
"timestamp": "2022-04-19T11:04:39+02:00",
|
||||||
|
"tree_id": "03b667a843ece33c75ef5eb23ca5bc8fc3b876e4",
|
||||||
|
"url": "https://github.com/docker/test-docker-action/commit/266574110acf203503badf966df2ea24b5d732d7"
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"pusher": {
|
||||||
|
"email": "github@crazymax.dev",
|
||||||
|
"name": "crazy-max"
|
||||||
|
},
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": 1596792180,
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": false,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": false,
|
||||||
|
"has_wiki": false,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"master_branch": "master",
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 4,
|
||||||
|
"open_issues_count": 4,
|
||||||
|
"organization": "docker",
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"email": "info@docker.com",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"name": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": 1650359090,
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers": 0,
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2021-12-21T21:49:29Z",
|
||||||
|
"url": "https://github.com/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
|
||||||
GITHUB_ACTIONS=true
|
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
|
||||||
GITHUB_ACTOR=crazy-max
|
|
||||||
GITHUB_API_URL=https://api.github.com
|
|
||||||
GITHUB_BASE_REF=
|
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7c207886-8ce7-4ad2-9b7f-f59dae4e5cf3
|
|
||||||
GITHUB_EVENT_NAME=release
|
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
|
||||||
GITHUB_HEAD_REF=
|
|
||||||
GITHUB_JOB=event
|
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7c207886-8ce7-4ad2-9b7f-f59dae4e5cf3
|
|
||||||
GITHUB_REF=refs/tags/v1.1.1
|
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
|
||||||
GITHUB_RETENTION_DAYS=90
|
|
||||||
GITHUB_RUN_ID=325970352
|
|
||||||
GITHUB_RUN_NUMBER=5
|
|
||||||
GITHUB_SERVER_URL=https://github.com
|
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
|
||||||
GITHUB_WORKFLOW=event
|
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
|
||||||
30
__tests__/fixtures/event_release_created.env
Normal file
30
__tests__/fixtures/event_release_created.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_82c844c7-54b3-4b5d-a1e1-4f9f2e936d4f
|
||||||
|
GITHUB_EVENT_NAME=release
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_release_created.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_82c844c7-54b3-4b5d-a1e1-4f9f2e936d4f
|
||||||
|
GITHUB_REF=refs/tags/v1.1.1
|
||||||
|
GITHUB_REF_NAME=v1.1.1
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188867972
|
||||||
|
GITHUB_RUN_NUMBER=26
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_82c844c7-54b3-4b5d-a1e1-4f9f2e936d4f
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
80
__tests__/fixtures/event_release_created.json
Normal file
80
__tests__/fixtures/event_release_created.json
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
{
|
||||||
|
"action": "created",
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"release": {
|
||||||
|
"assets": [],
|
||||||
|
"assets_url": "https://api.github.com/repos/docker/test-docker-action/releases/64718198/assets",
|
||||||
|
"author": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
},
|
||||||
|
"body": "foo",
|
||||||
|
"created_at": "2022-04-19T09:39:35Z",
|
||||||
|
"draft": false,
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action/releases/tag/v1.1.1",
|
||||||
|
"id": 64718198,
|
||||||
|
"name": "v1.1.1",
|
||||||
|
"node_id": "RE_kwDOEQjNNc4D24V2",
|
||||||
|
"prerelease": true,
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_5705dc72-e111-46f1-9421-a77a2daec643
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_c8594ff3-bed7-4fb7-b495-c63872db99a2
|
||||||
GITHUB_EVENT_NAME=schedule
|
GITHUB_EVENT_NAME=schedule
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_schedule.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_5705dc72-e111-46f1-9421-a77a2daec643
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_c8594ff3-bed7-4fb7-b495-c63872db99a2
|
||||||
GITHUB_REF=refs/heads/master
|
GITHUB_REF=refs/heads/master
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=master
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325965155
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=3
|
GITHUB_RUN_ID=2188841209
|
||||||
|
GITHUB_RUN_NUMBER=24
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_c8594ff3-bed7-4fb7-b495-c63872db99a2
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
3
__tests__/fixtures/event_schedule.json
Normal file
3
__tests__/fixtures/event_schedule.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"schedule": "*/10 * * * *"
|
||||||
|
}
|
||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_1.0dev4.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/1.0dev4
|
GITHUB_REF=refs/tags/1.0dev4
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=1.0dev4
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_1.1beta2.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/1.1beta2
|
GITHUB_REF=refs/tags/1.1beta2
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=1.1beta2
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_1.2.3rc2.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/1.2.3rc2
|
GITHUB_REF=refs/tags/1.2.3rc2
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=1.2.3rc2
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_1.2.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/1.2
|
GITHUB_REF=refs/tags/1.2
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=1.2
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_1.2post1.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/1.2post1
|
GITHUB_REF=refs/tags/1.2post1
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=1.2post1
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_20200110-RC2.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/20200110-RC2
|
GITHUB_REF=refs/tags/20200110-RC2
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=20200110-RC2
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_p1-v1.0.0.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/p1/v1.0.0
|
GITHUB_REF=refs/tags/p1/v1.0.0
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=p1/v1.0.0
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_release1.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/release1
|
GITHUB_REF=refs/tags/release1
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=release1
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_sometag.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/sometag
|
GITHUB_REF=refs/tags/sometag
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=sometag
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_v1.1.1.json
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_v1.1.1.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/v1.1.1
|
GITHUB_REF=refs/tags/v1.1.1
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=v1.1.1
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"after": "8415a46e9494b78eca43a2dd8dca716b86b9df85",
|
"after": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"base_ref": "refs/heads/master",
|
"base_ref": "refs/heads/master",
|
||||||
"before": "0000000000000000000000000000000000000000",
|
"before": "0000000000000000000000000000000000000000",
|
||||||
"commits": [],
|
"commits": [],
|
||||||
"compare": "https://github.com/crazy-max/test-docker-action/compare/v1.1.1",
|
"compare": "https://github.com/docker/test-docker-action/compare/v1.1.1",
|
||||||
"created": true,
|
"created": true,
|
||||||
"deleted": false,
|
"deleted": false,
|
||||||
"forced": false,
|
"forced": false,
|
||||||
@@ -14,69 +14,83 @@
|
|||||||
"username": "crazy-max"
|
"username": "crazy-max"
|
||||||
},
|
},
|
||||||
"committer": {
|
"committer": {
|
||||||
"email": "noreply@github.com",
|
"email": "crazy-max@users.noreply.github.com",
|
||||||
"name": "GitHub",
|
"name": "CrazyMax",
|
||||||
"username": "web-flow"
|
"username": "crazy-max"
|
||||||
},
|
},
|
||||||
"distinct": true,
|
"distinct": true,
|
||||||
"id": "8415a46e9494b78eca43a2dd8dca716b86b9df85",
|
"id": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"message": "Trigger notification (#11)\n\nCo-authored-by: CrazyMax <crazy-max@users.noreply.github.com>",
|
"message": "scheduled",
|
||||||
"timestamp": "2021-10-21T23:47:22+02:00",
|
"timestamp": "2022-04-19T11:39:35+02:00",
|
||||||
"tree_id": "8e46bf0c7fd95050deb02b11f0bc8c475c7428f3",
|
"tree_id": "1d3608c3f204a4d754a1db925264929afd54daad",
|
||||||
"url": "https://github.com/crazy-max/test-docker-action/commit/8415a46e9494b78eca43a2dd8dca716b86b9df85"
|
"url": "https://github.com/docker/test-docker-action/commit/860c1904a1ce19322e91ac35af1ab07466440c37"
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
},
|
},
|
||||||
"pusher": {
|
"pusher": {
|
||||||
"email": "crazy-max@users.noreply.github.com",
|
"email": "github@crazymax.dev",
|
||||||
"name": "crazy-max"
|
"name": "crazy-max"
|
||||||
},
|
},
|
||||||
"ref": "refs/tags/v1.1.1",
|
"ref": "refs/tags/v1.1.1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"allow_forking": true,
|
"allow_forking": true,
|
||||||
"archive_url": "https://api.github.com/repos/crazy-max/test-docker-action/{archive_format}{/ref}",
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"assignees_url": "https://api.github.com/repos/crazy-max/test-docker-action/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
"blobs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
"branches_url": "https://api.github.com/repos/crazy-max/test-docker-action/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
"clone_url": "https://github.com/crazy-max/test-docker-action.git",
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
"collaborators_url": "https://api.github.com/repos/crazy-max/test-docker-action/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
"comments_url": "https://api.github.com/repos/crazy-max/test-docker-action/comments{/number}",
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
"commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
"compare_url": "https://api.github.com/repos/crazy-max/test-docker-action/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
"contents_url": "https://api.github.com/repos/crazy-max/test-docker-action/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
"contributors_url": "https://api.github.com/repos/crazy-max/test-docker-action/contributors",
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
"created_at": 1596792180,
|
"created_at": 1596792180,
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"deployments_url": "https://api.github.com/repos/crazy-max/test-docker-action/deployments",
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
"description": "Test \"Docker\" Actions",
|
"description": "Test \"Docker\" Actions",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"downloads_url": "https://api.github.com/repos/crazy-max/test-docker-action/downloads",
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
"events_url": "https://api.github.com/repos/crazy-max/test-docker-action/events",
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"forks": 1,
|
"forks": 1,
|
||||||
"forks_count": 1,
|
"forks_count": 1,
|
||||||
"forks_url": "https://api.github.com/repos/crazy-max/test-docker-action/forks",
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
"full_name": "crazy-max/test-docker-action",
|
"full_name": "docker/test-docker-action",
|
||||||
"git_commits_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
"git_url": "git://github.com/crazy-max/test-docker-action.git",
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_issues": false,
|
"has_issues": true,
|
||||||
"has_pages": false,
|
"has_pages": false,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"hooks_url": "https://api.github.com/repos/crazy-max/test-docker-action/hooks",
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
"html_url": "https://github.com/crazy-max/test-docker-action",
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
"id": 285789493,
|
"id": 285789493,
|
||||||
"is_template": false,
|
"is_template": false,
|
||||||
"issue_comment_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/comments{/number}",
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
"issue_events_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues/events{/number}",
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
"issues_url": "https://api.github.com/repos/crazy-max/test-docker-action/issues{/number}",
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
"keys_url": "https://api.github.com/repos/crazy-max/test-docker-action/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
"labels_url": "https://api.github.com/repos/crazy-max/test-docker-action/labels{/name}",
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
"language": "JavaScript",
|
"language": "JavaScript",
|
||||||
"languages_url": "https://api.github.com/repos/crazy-max/test-docker-action/languages",
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
"license": {
|
"license": {
|
||||||
"key": "mit",
|
"key": "mit",
|
||||||
"name": "MIT License",
|
"name": "MIT License",
|
||||||
@@ -85,56 +99,56 @@
|
|||||||
"url": "https://api.github.com/licenses/mit"
|
"url": "https://api.github.com/licenses/mit"
|
||||||
},
|
},
|
||||||
"master_branch": "master",
|
"master_branch": "master",
|
||||||
"merges_url": "https://api.github.com/repos/crazy-max/test-docker-action/merges",
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
"milestones_url": "https://api.github.com/repos/crazy-max/test-docker-action/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"name": "test-docker-action",
|
"name": "test-docker-action",
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
"notifications_url": "https://api.github.com/repos/crazy-max/test-docker-action/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
"open_issues": 4,
|
"open_issues": 6,
|
||||||
"open_issues_count": 4,
|
"open_issues_count": 6,
|
||||||
"organization": "docker",
|
"organization": "docker",
|
||||||
"owner": {
|
"owner": {
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
"email": "info@docker.com",
|
"email": "info@docker.com",
|
||||||
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"html_url": "https://github.com/crazy-max",
|
"html_url": "https://github.com/docker",
|
||||||
"id": 5429470,
|
"id": 5429470,
|
||||||
"login": "docker",
|
"login": "docker",
|
||||||
"name": "docker",
|
"name": "docker",
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
"type": "Organization",
|
"type": "Organization",
|
||||||
"url": "https://api.github.com/users/crazy-max"
|
"url": "https://api.github.com/users/docker"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"pulls_url": "https://api.github.com/repos/crazy-max/test-docker-action/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
"pushed_at": 1634852872,
|
"pushed_at": 1650361263,
|
||||||
"releases_url": "https://api.github.com/repos/crazy-max/test-docker-action/releases{/id}",
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
"size": 714,
|
"size": 796,
|
||||||
"ssh_url": "git@github.com:crazy-max/test-docker-action.git",
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
"stargazers": 0,
|
"stargazers": 0,
|
||||||
"stargazers_count": 0,
|
"stargazers_count": 0,
|
||||||
"stargazers_url": "https://api.github.com/repos/crazy-max/test-docker-action/stargazers",
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
"statuses_url": "https://api.github.com/repos/crazy-max/test-docker-action/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
"subscribers_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscribers",
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/crazy-max/test-docker-action/subscription",
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
"svn_url": "https://github.com/crazy-max/test-docker-action",
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
"tags_url": "https://api.github.com/repos/crazy-max/test-docker-action/tags",
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
"teams_url": "https://api.github.com/repos/crazy-max/test-docker-action/teams",
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
"topics": [],
|
"topics": [],
|
||||||
"trees_url": "https://api.github.com/repos/crazy-max/test-docker-action/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
"updated_at": "2021-10-21T21:47:25Z",
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
"url": "https://github.com/crazy-max/test-docker-action",
|
"url": "https://github.com/docker/test-docker-action",
|
||||||
"visibility": "private",
|
"visibility": "private",
|
||||||
"watchers": 0,
|
"watchers": 0,
|
||||||
"watchers_count": 0
|
"watchers_count": 0
|
||||||
@@ -150,7 +164,7 @@
|
|||||||
"id": 1951866,
|
"id": 1951866,
|
||||||
"login": "crazy-max",
|
"login": "crazy-max",
|
||||||
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
"organizations_url": "https://api.github.com/users/crazy-max/users",
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
"site_admin": false,
|
"site_admin": false,
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_v1.2.3rc2.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/v1.2.3rc2
|
GITHUB_REF=refs/tags/v1.2.3rc2
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=v1.2.3rc2
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_EVENT_NAME=push
|
GITHUB_EVENT_NAME=push
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
#GITHUB_EVENT_PATH=./__tests__/fixtures/event_tag_v2.0.8-beta.67.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_6ee180c2-b331-434a-a867-89534cbefd83
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
GITHUB_REF=refs/tags/v2.0.8-beta.67
|
GITHUB_REF=refs/tags/v2.0.8-beta.67
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=v2.0.8-beta.67
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=tag
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325968230
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=4
|
GITHUB_RUN_ID=2188815933
|
||||||
|
GITHUB_RUN_NUMBER=21
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_7703d3cb-84db-438f-9f97-46e159388a55
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
GITHUB_ACTION=crazy-maxghaction-dump-context
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
GITHUB_ACTIONS=true
|
GITHUB_ACTIONS=true
|
||||||
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
GITHUB_ACTOR=crazy-max
|
GITHUB_ACTOR=crazy-max
|
||||||
GITHUB_API_URL=https://api.github.com
|
GITHUB_API_URL=https://api.github.com
|
||||||
GITHUB_BASE_REF=
|
GITHUB_BASE_REF=
|
||||||
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_4c49cda0-764d-4055-9bd9-7caf67fcb10c
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_397d8f76-d5a2-478b-94ec-cadbffd1c08e
|
||||||
GITHUB_EVENT_NAME=workflow_dispatch
|
GITHUB_EVENT_NAME=workflow_dispatch
|
||||||
#GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_workflow_dispatch.json
|
||||||
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
GITHUB_HEAD_REF=
|
GITHUB_HEAD_REF=
|
||||||
GITHUB_JOB=event
|
GITHUB_JOB=test
|
||||||
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_4c49cda0-764d-4055-9bd9-7caf67fcb10c
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_397d8f76-d5a2-478b-94ec-cadbffd1c08e
|
||||||
GITHUB_REF=refs/heads/master
|
GITHUB_REF=refs/heads/master
|
||||||
GITHUB_REPOSITORY=crazy-max/test-docker-action
|
GITHUB_REF_NAME=master
|
||||||
GITHUB_REPOSITORY_OWNER=crazy-max
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
GITHUB_RETENTION_DAYS=90
|
GITHUB_RETENTION_DAYS=90
|
||||||
GITHUB_RUN_ID=325962325
|
GITHUB_RUN_ATTEMPT=1
|
||||||
GITHUB_RUN_NUMBER=2
|
GITHUB_RUN_ID=2188839914
|
||||||
|
GITHUB_RUN_NUMBER=23
|
||||||
GITHUB_SERVER_URL=https://github.com
|
GITHUB_SERVER_URL=https://github.com
|
||||||
GITHUB_SHA=90dd6032fac8bda1b6c4436a2e65de27961ed071
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
GITHUB_WORKFLOW=event
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_397d8f76-d5a2-478b-94ec-cadbffd1c08e
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
|
|||||||
145
__tests__/fixtures/event_workflow_dispatch.json
Normal file
145
__tests__/fixtures/event_workflow_dispatch.json
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
{
|
||||||
|
"inputs": {
|
||||||
|
"logLevel": "warning"
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 6,
|
||||||
|
"open_issues_count": 6,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:41:03Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
},
|
||||||
|
"workflow": ".github/workflows/metadata.yml"
|
||||||
|
}
|
||||||
30
__tests__/fixtures/event_workflow_dispatch_dev.env
Normal file
30
__tests__/fixtures/event_workflow_dispatch_dev.env
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
GITHUB_ACTION=__crazy-max_ghaction-dump-context
|
||||||
|
GITHUB_ACTIONS=true
|
||||||
|
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
|
||||||
|
GITHUB_ACTION_REF=
|
||||||
|
GITHUB_ACTION_REPOSITORY=
|
||||||
|
GITHUB_ACTOR=crazy-max
|
||||||
|
GITHUB_API_URL=https://api.github.com
|
||||||
|
GITHUB_BASE_REF=
|
||||||
|
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_81f7da89-3d0b-493a-af1f-c67e5f779727
|
||||||
|
GITHUB_EVENT_NAME=workflow_dispatch
|
||||||
|
GITHUB_EVENT_PATH=./__tests__/fixtures/event_workflow_dispatch_dev.json
|
||||||
|
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
||||||
|
GITHUB_HEAD_REF=
|
||||||
|
GITHUB_JOB=test
|
||||||
|
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_81f7da89-3d0b-493a-af1f-c67e5f779727
|
||||||
|
GITHUB_REF=refs/heads/dev
|
||||||
|
GITHUB_REF_NAME=dev
|
||||||
|
GITHUB_REF_PROTECTED=false
|
||||||
|
GITHUB_REF_TYPE=branch
|
||||||
|
GITHUB_REPOSITORY=docker/test-docker-action
|
||||||
|
GITHUB_REPOSITORY_OWNER=docker
|
||||||
|
GITHUB_RETENTION_DAYS=90
|
||||||
|
GITHUB_RUN_ATTEMPT=1
|
||||||
|
GITHUB_RUN_ID=2188848679
|
||||||
|
GITHUB_RUN_NUMBER=25
|
||||||
|
GITHUB_SERVER_URL=https://github.com
|
||||||
|
GITHUB_SHA=860c1904a1ce19322e91ac35af1ab07466440c37
|
||||||
|
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_81f7da89-3d0b-493a-af1f-c67e5f779727
|
||||||
|
GITHUB_WORKFLOW=metadata
|
||||||
|
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action
|
||||||
145
__tests__/fixtures/event_workflow_dispatch_dev.json
Normal file
145
__tests__/fixtures/event_workflow_dispatch_dev.json
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
{
|
||||||
|
"inputs": {
|
||||||
|
"logLevel": "warning"
|
||||||
|
},
|
||||||
|
"organization": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"description": "Docker helps developers bring their ideas to life by conquering the complexity of app development.",
|
||||||
|
"events_url": "https://api.github.com/orgs/docker/events",
|
||||||
|
"hooks_url": "https://api.github.com/orgs/docker/hooks",
|
||||||
|
"id": 5429470,
|
||||||
|
"issues_url": "https://api.github.com/orgs/docker/issues",
|
||||||
|
"login": "docker",
|
||||||
|
"members_url": "https://api.github.com/orgs/docker/members{/member}",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"public_members_url": "https://api.github.com/orgs/docker/public_members{/member}",
|
||||||
|
"repos_url": "https://api.github.com/orgs/docker/repos",
|
||||||
|
"url": "https://api.github.com/orgs/docker"
|
||||||
|
},
|
||||||
|
"ref": "refs/heads/dev",
|
||||||
|
"repository": {
|
||||||
|
"allow_forking": true,
|
||||||
|
"archive_url": "https://api.github.com/repos/docker/test-docker-action/{archive_format}{/ref}",
|
||||||
|
"archived": false,
|
||||||
|
"assignees_url": "https://api.github.com/repos/docker/test-docker-action/assignees{/user}",
|
||||||
|
"blobs_url": "https://api.github.com/repos/docker/test-docker-action/git/blobs{/sha}",
|
||||||
|
"branches_url": "https://api.github.com/repos/docker/test-docker-action/branches{/branch}",
|
||||||
|
"clone_url": "https://github.com/docker/test-docker-action.git",
|
||||||
|
"collaborators_url": "https://api.github.com/repos/docker/test-docker-action/collaborators{/collaborator}",
|
||||||
|
"comments_url": "https://api.github.com/repos/docker/test-docker-action/comments{/number}",
|
||||||
|
"commits_url": "https://api.github.com/repos/docker/test-docker-action/commits{/sha}",
|
||||||
|
"compare_url": "https://api.github.com/repos/docker/test-docker-action/compare/{base}...{head}",
|
||||||
|
"contents_url": "https://api.github.com/repos/docker/test-docker-action/contents/{+path}",
|
||||||
|
"contributors_url": "https://api.github.com/repos/docker/test-docker-action/contributors",
|
||||||
|
"created_at": "2020-08-07T09:23:00Z",
|
||||||
|
"default_branch": "master",
|
||||||
|
"deployments_url": "https://api.github.com/repos/docker/test-docker-action/deployments",
|
||||||
|
"description": "Test \"Docker\" Actions",
|
||||||
|
"disabled": false,
|
||||||
|
"downloads_url": "https://api.github.com/repos/docker/test-docker-action/downloads",
|
||||||
|
"events_url": "https://api.github.com/repos/docker/test-docker-action/events",
|
||||||
|
"fork": false,
|
||||||
|
"forks": 1,
|
||||||
|
"forks_count": 1,
|
||||||
|
"forks_url": "https://api.github.com/repos/docker/test-docker-action/forks",
|
||||||
|
"full_name": "docker/test-docker-action",
|
||||||
|
"git_commits_url": "https://api.github.com/repos/docker/test-docker-action/git/commits{/sha}",
|
||||||
|
"git_refs_url": "https://api.github.com/repos/docker/test-docker-action/git/refs{/sha}",
|
||||||
|
"git_tags_url": "https://api.github.com/repos/docker/test-docker-action/git/tags{/sha}",
|
||||||
|
"git_url": "git://github.com/docker/test-docker-action.git",
|
||||||
|
"has_downloads": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"has_pages": false,
|
||||||
|
"has_projects": true,
|
||||||
|
"has_wiki": true,
|
||||||
|
"homepage": "",
|
||||||
|
"hooks_url": "https://api.github.com/repos/docker/test-docker-action/hooks",
|
||||||
|
"html_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"id": 285789493,
|
||||||
|
"is_template": false,
|
||||||
|
"issue_comment_url": "https://api.github.com/repos/docker/test-docker-action/issues/comments{/number}",
|
||||||
|
"issue_events_url": "https://api.github.com/repos/docker/test-docker-action/issues/events{/number}",
|
||||||
|
"issues_url": "https://api.github.com/repos/docker/test-docker-action/issues{/number}",
|
||||||
|
"keys_url": "https://api.github.com/repos/docker/test-docker-action/keys{/key_id}",
|
||||||
|
"labels_url": "https://api.github.com/repos/docker/test-docker-action/labels{/name}",
|
||||||
|
"language": "JavaScript",
|
||||||
|
"languages_url": "https://api.github.com/repos/docker/test-docker-action/languages",
|
||||||
|
"license": {
|
||||||
|
"key": "mit",
|
||||||
|
"name": "MIT License",
|
||||||
|
"node_id": "MDc6TGljZW5zZTEz",
|
||||||
|
"spdx_id": "MIT",
|
||||||
|
"url": "https://api.github.com/licenses/mit"
|
||||||
|
},
|
||||||
|
"merges_url": "https://api.github.com/repos/docker/test-docker-action/merges",
|
||||||
|
"milestones_url": "https://api.github.com/repos/docker/test-docker-action/milestones{/number}",
|
||||||
|
"mirror_url": null,
|
||||||
|
"name": "test-docker-action",
|
||||||
|
"node_id": "MDEwOlJlcG9zaXRvcnkyODU3ODk0OTM=",
|
||||||
|
"notifications_url": "https://api.github.com/repos/docker/test-docker-action/notifications{?since,all,participating}",
|
||||||
|
"open_issues": 6,
|
||||||
|
"open_issues_count": 6,
|
||||||
|
"owner": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5429470?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/docker/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/docker/followers",
|
||||||
|
"following_url": "https://api.github.com/users/docker/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/docker/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/docker",
|
||||||
|
"id": 5429470,
|
||||||
|
"login": "docker",
|
||||||
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=",
|
||||||
|
"organizations_url": "https://api.github.com/users/docker/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/docker/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/docker/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/docker/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/docker/subscriptions",
|
||||||
|
"type": "Organization",
|
||||||
|
"url": "https://api.github.com/users/docker"
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"pulls_url": "https://api.github.com/repos/docker/test-docker-action/pulls{/number}",
|
||||||
|
"pushed_at": "2022-04-19T09:41:03Z",
|
||||||
|
"releases_url": "https://api.github.com/repos/docker/test-docker-action/releases{/id}",
|
||||||
|
"size": 796,
|
||||||
|
"ssh_url": "git@github.com:docker/test-docker-action.git",
|
||||||
|
"stargazers_count": 0,
|
||||||
|
"stargazers_url": "https://api.github.com/repos/docker/test-docker-action/stargazers",
|
||||||
|
"statuses_url": "https://api.github.com/repos/docker/test-docker-action/statuses/{sha}",
|
||||||
|
"subscribers_url": "https://api.github.com/repos/docker/test-docker-action/subscribers",
|
||||||
|
"subscription_url": "https://api.github.com/repos/docker/test-docker-action/subscription",
|
||||||
|
"svn_url": "https://github.com/docker/test-docker-action",
|
||||||
|
"tags_url": "https://api.github.com/repos/docker/test-docker-action/tags",
|
||||||
|
"teams_url": "https://api.github.com/repos/docker/test-docker-action/teams",
|
||||||
|
"topics": [],
|
||||||
|
"trees_url": "https://api.github.com/repos/docker/test-docker-action/git/trees{/sha}",
|
||||||
|
"updated_at": "2022-04-19T09:05:09Z",
|
||||||
|
"url": "https://api.github.com/repos/docker/test-docker-action",
|
||||||
|
"visibility": "private",
|
||||||
|
"watchers": 0,
|
||||||
|
"watchers_count": 0
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1951866?v=4",
|
||||||
|
"events_url": "https://api.github.com/users/crazy-max/events{/privacy}",
|
||||||
|
"followers_url": "https://api.github.com/users/crazy-max/followers",
|
||||||
|
"following_url": "https://api.github.com/users/crazy-max/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/crazy-max/gists{/gist_id}",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"html_url": "https://github.com/crazy-max",
|
||||||
|
"id": 1951866,
|
||||||
|
"login": "crazy-max",
|
||||||
|
"node_id": "MDQ6VXNlcjE5NTE4NjY=",
|
||||||
|
"organizations_url": "https://api.github.com/users/crazy-max/orgs",
|
||||||
|
"received_events_url": "https://api.github.com/users/crazy-max/received_events",
|
||||||
|
"repos_url": "https://api.github.com/users/crazy-max/repos",
|
||||||
|
"site_admin": false,
|
||||||
|
"starred_url": "https://api.github.com/users/crazy-max/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/crazy-max/subscriptions",
|
||||||
|
"type": "User",
|
||||||
|
"url": "https://api.github.com/users/crazy-max"
|
||||||
|
},
|
||||||
|
"workflow": ".github/workflows/metadata.yml"
|
||||||
|
}
|
||||||
@@ -124,7 +124,7 @@ describe('push', () => {
|
|||||||
test.each([
|
test.each([
|
||||||
[
|
[
|
||||||
'push01',
|
'push01',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
@@ -143,13 +143,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=dev",
|
"org.opencontainers.image.version=dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push02',
|
'push02',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -171,13 +171,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=edge",
|
"org.opencontainers.image.version=edge",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push03',
|
'push03',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
@@ -196,7 +196,7 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=master",
|
"org.opencontainers.image.version=master",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -224,13 +224,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=edge",
|
"org.opencontainers.image.version=edge",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push05',
|
'push05',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
@@ -250,13 +250,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=dev",
|
"org.opencontainers.image.version=dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push06',
|
'push06',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -279,13 +279,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=edge",
|
"org.opencontainers.image.version=edge",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push07',
|
'push07',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -295,14 +295,14 @@ describe('push', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'dev',
|
main: 'dev',
|
||||||
partial: ['sha-90dd603'],
|
partial: ['sha-860c190'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:dev',
|
'org/app:dev',
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-860c190',
|
||||||
'ghcr.io/user/app:dev',
|
'ghcr.io/user/app:dev',
|
||||||
'ghcr.io/user/app:sha-90dd603'
|
'ghcr.io/user/app:sha-860c190'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
@@ -311,13 +311,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=dev",
|
"org.opencontainers.image.version=dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push08',
|
'push08',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -327,14 +327,14 @@ describe('push', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'edge',
|
main: 'edge',
|
||||||
partial: ['sha-90dd603'],
|
partial: ['sha-2665741'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:edge',
|
'org/app:edge',
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-2665741',
|
||||||
'ghcr.io/user/app:edge',
|
'ghcr.io/user/app:edge',
|
||||||
'ghcr.io/user/app:sha-90dd603'
|
'ghcr.io/user/app:sha-2665741'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
@@ -343,13 +343,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=edge",
|
"org.opencontainers.image.version=edge",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push09',
|
'push09',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -359,14 +359,14 @@ describe('push', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'edge',
|
main: 'edge',
|
||||||
partial: ['sha-90dd603'],
|
partial: ['sha-860c190'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:edge',
|
'org/app:edge',
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-860c190',
|
||||||
'ghcr.io/user/app:edge',
|
'ghcr.io/user/app:edge',
|
||||||
'ghcr.io/user/app:sha-90dd603'
|
'ghcr.io/user/app:sha-860c190'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
@@ -375,13 +375,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=edge",
|
"org.opencontainers.image.version=edge",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push10',
|
'push10',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -390,22 +390,22 @@ describe('push', () => {
|
|||||||
],
|
],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'sha-90dd603',
|
main: 'sha-2665741',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-2665741',
|
||||||
'ghcr.io/user/app:sha-90dd603'
|
'ghcr.io/user/app:sha-2665741'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sha-90dd603",
|
"org.opencontainers.image.version=sha-2665741",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -420,22 +420,22 @@ describe('push', () => {
|
|||||||
],
|
],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'sha-90dd603',
|
main: 'sha-983315b',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-983315b',
|
||||||
'ghcr.io/user/app:sha-90dd603'
|
'ghcr.io/user/app:sha-983315b'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sha-90dd603",
|
"org.opencontainers.image.version=sha-983315b",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=983315b5e8d46e46fc4c49869e85e7ee5fb289ba",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -463,13 +463,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=",
|
"org.opencontainers.image.version=",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=983315b5e8d46e46fc4c49869e85e7ee5fb289ba",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push13',
|
'push13',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -493,13 +493,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=master",
|
"org.opencontainers.image.version=master",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push14',
|
'push14',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -525,13 +525,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.2.3",
|
"org.opencontainers.image.version=1.2.3",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push15',
|
'push15',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -556,13 +556,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.2.3",
|
"org.opencontainers.image.version=1.2.3",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push16',
|
'push16',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -585,13 +585,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=edge",
|
"org.opencontainers.image.version=edge",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push17',
|
'push17',
|
||||||
'event_push_defbranch.env',
|
'event_push_master.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -623,13 +623,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=mytag-master",
|
"org.opencontainers.image.version=mytag-master",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push18',
|
'push18',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -639,14 +639,14 @@ describe('push', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'dev',
|
main: 'dev',
|
||||||
partial: ['sha-90dd6032fac8bda1b6c4436a2e65de27961ed071'],
|
partial: ['sha-860c1904a1ce19322e91ac35af1ab07466440c37'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:dev',
|
'org/app:dev',
|
||||||
'org/app:sha-90dd6032fac8bda1b6c4436a2e65de27961ed071',
|
'org/app:sha-860c1904a1ce19322e91ac35af1ab07466440c37',
|
||||||
'ghcr.io/user/app:dev',
|
'ghcr.io/user/app:dev',
|
||||||
'ghcr.io/user/app:sha-90dd6032fac8bda1b6c4436a2e65de27961ed071'
|
'ghcr.io/user/app:sha-860c1904a1ce19322e91ac35af1ab07466440c37'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
@@ -655,13 +655,13 @@ describe('push', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=dev",
|
"org.opencontainers.image.version=dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'push19',
|
'push19',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -671,22 +671,22 @@ describe('push', () => {
|
|||||||
],
|
],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'sha-90dd6032fac8bda1b6c4436a2e65de27961ed071',
|
main: 'sha-860c1904a1ce19322e91ac35af1ab07466440c37',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:sha-90dd6032fac8bda1b6c4436a2e65de27961ed071',
|
'org/app:sha-860c1904a1ce19322e91ac35af1ab07466440c37',
|
||||||
'ghcr.io/user/app:sha-90dd6032fac8bda1b6c4436a2e65de27961ed071'
|
'ghcr.io/user/app:sha-860c1904a1ce19322e91ac35af1ab07466440c37'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sha-90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.version=sha-860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
@@ -718,7 +718,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=release1",
|
"org.opencontainers.image.version=release1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -744,7 +744,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110-RC2",
|
"org.opencontainers.image.version=20200110-RC2",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -775,7 +775,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110",
|
"org.opencontainers.image.version=20200110",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -806,7 +806,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110",
|
"org.opencontainers.image.version=20200110",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -837,7 +837,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -868,7 +868,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -899,7 +899,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=2.0.8-beta.67",
|
"org.opencontainers.image.version=2.0.8-beta.67",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -930,7 +930,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=2.0",
|
"org.opencontainers.image.version=2.0",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -964,7 +964,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=2.0.8",
|
"org.opencontainers.image.version=2.0.8",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -990,7 +990,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=",
|
"org.opencontainers.image.version=",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1027,7 +1027,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1059,7 +1059,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1089,7 +1089,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=2.0.8-beta.67",
|
"org.opencontainers.image.version=2.0.8-beta.67",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1123,7 +1123,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sometag",
|
"org.opencontainers.image.version=sometag",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1158,7 +1158,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=foo",
|
"org.opencontainers.image.version=foo",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1191,7 +1191,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=foo",
|
"org.opencontainers.image.version=foo",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1210,17 +1210,17 @@ describe('tag', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: '1.0.0',
|
main: '1.0.0',
|
||||||
partial: ['1.0', 'sha-90dd603'],
|
partial: ['1.0', 'sha-860c190'],
|
||||||
latest: true
|
latest: true
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:1.0.0',
|
'org/app:1.0.0',
|
||||||
'org/app:1.0',
|
'org/app:1.0',
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-860c190',
|
||||||
'org/app:latest',
|
'org/app:latest',
|
||||||
'ghcr.io/user/app:1.0.0',
|
'ghcr.io/user/app:1.0.0',
|
||||||
'ghcr.io/user/app:1.0',
|
'ghcr.io/user/app:1.0',
|
||||||
'ghcr.io/user/app:sha-90dd603',
|
'ghcr.io/user/app:sha-860c190',
|
||||||
'ghcr.io/user/app:latest'
|
'ghcr.io/user/app:latest'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -1230,7 +1230,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.0.0",
|
"org.opencontainers.image.version=1.0.0",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1249,17 +1249,17 @@ describe('tag', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: '1.0.0',
|
main: '1.0.0',
|
||||||
partial: ['1.0', 'sha-90dd603'],
|
partial: ['1.0', 'sha-860c190'],
|
||||||
latest: true
|
latest: true
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:1.0.0',
|
'org/app:1.0.0',
|
||||||
'org/app:1.0',
|
'org/app:1.0',
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-860c190',
|
||||||
'org/app:latest',
|
'org/app:latest',
|
||||||
'ghcr.io/user/app:1.0.0',
|
'ghcr.io/user/app:1.0.0',
|
||||||
'ghcr.io/user/app:1.0',
|
'ghcr.io/user/app:1.0',
|
||||||
'ghcr.io/user/app:sha-90dd603',
|
'ghcr.io/user/app:sha-860c190',
|
||||||
'ghcr.io/user/app:latest'
|
'ghcr.io/user/app:latest'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -1269,7 +1269,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.0.0",
|
"org.opencontainers.image.version=1.0.0",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1290,17 +1290,17 @@ describe('tag', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: '1.0.0-dev',
|
main: '1.0.0-dev',
|
||||||
partial: ['1.0', 'sha-90dd603-dev'],
|
partial: ['1.0', 'sha-860c190-dev'],
|
||||||
latest: true
|
latest: true
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:1.0.0-dev',
|
'org/app:1.0.0-dev',
|
||||||
'org/app:1.0',
|
'org/app:1.0',
|
||||||
'org/app:sha-90dd603-dev',
|
'org/app:sha-860c190-dev',
|
||||||
'org/app:latest',
|
'org/app:latest',
|
||||||
'ghcr.io/user/app:1.0.0-dev',
|
'ghcr.io/user/app:1.0.0-dev',
|
||||||
'ghcr.io/user/app:1.0',
|
'ghcr.io/user/app:1.0',
|
||||||
'ghcr.io/user/app:sha-90dd603-dev',
|
'ghcr.io/user/app:sha-860c190-dev',
|
||||||
'ghcr.io/user/app:latest'
|
'ghcr.io/user/app:latest'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -1310,7 +1310,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.0.0-dev",
|
"org.opencontainers.image.version=1.0.0-dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1325,16 +1325,16 @@ describe('tag', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'v1.1.1-90dd603-foo',
|
main: 'v1.1.1-860c190-foo',
|
||||||
partial: [
|
partial: [
|
||||||
'master-foo'
|
'master-foo'
|
||||||
],
|
],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:v1.1.1-90dd603-foo',
|
'org/app:v1.1.1-860c190-foo',
|
||||||
'org/app:master-foo',
|
'org/app:master-foo',
|
||||||
'ghcr.io/user/app:v1.1.1-90dd603-foo',
|
'ghcr.io/user/app:v1.1.1-860c190-foo',
|
||||||
'ghcr.io/user/app:master-foo'
|
'ghcr.io/user/app:master-foo'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -1342,9 +1342,9 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1-90dd603-foo",
|
"org.opencontainers.image.version=v1.1.1-860c190-foo",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1379,7 +1379,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1-dev",
|
"org.opencontainers.image.version=1.1.1-dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1415,7 +1415,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=foo-1.1.1-dev",
|
"org.opencontainers.image.version=foo-1.1.1-dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1446,7 +1446,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1",
|
"org.opencontainers.image.version=v1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1476,7 +1476,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.2",
|
"org.opencontainers.image.version=1.2",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1506,7 +1506,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1b2",
|
"org.opencontainers.image.version=1.1b2",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1536,7 +1536,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.0.dev4",
|
"org.opencontainers.image.version=1.0.dev4",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1568,7 +1568,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.2.3rc2",
|
"org.opencontainers.image.version=1.2.3rc2",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1605,7 +1605,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1635,7 +1635,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.2.post1",
|
"org.opencontainers.image.version=1.2.post1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1669,7 +1669,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sometag",
|
"org.opencontainers.image.version=sometag",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1698,7 +1698,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v2.0.8-beta.67",
|
"org.opencontainers.image.version=v2.0.8-beta.67",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1730,7 +1730,7 @@ describe('tag', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.2.3rc2",
|
"org.opencontainers.image.version=v1.2.3rc2",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1765,7 +1765,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=release1",
|
"org.opencontainers.image.version=release1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1794,7 +1794,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110-RC2",
|
"org.opencontainers.image.version=20200110-RC2",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1823,7 +1823,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110",
|
"org.opencontainers.image.version=20200110",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1852,7 +1852,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1880,7 +1880,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1",
|
"org.opencontainers.image.version=v1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1911,7 +1911,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=2.0.8",
|
"org.opencontainers.image.version=2.0.8",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1943,7 +1943,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1",
|
"org.opencontainers.image.version=v1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -1975,7 +1975,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1",
|
"org.opencontainers.image.version=v1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2013,7 +2013,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1",
|
"org.opencontainers.image.version=v1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT",
|
"org.opencontainers.image.licenses=MIT",
|
||||||
"maintainer=CrazyMax",
|
"maintainer=CrazyMax",
|
||||||
"org.opencontainers.image.title=MyCustomTitle",
|
"org.opencontainers.image.title=MyCustomTitle",
|
||||||
@@ -2034,21 +2034,21 @@ describe('pr', () => {
|
|||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'pr-2',
|
main: 'pr-15',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'user/app:pr-2'
|
'user/app:pr-15'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=pr-2",
|
"org.opencontainers.image.version=pr-15",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2059,22 +2059,22 @@ describe('pr', () => {
|
|||||||
images: ['org/app', 'ghcr.io/user/app'],
|
images: ['org/app', 'ghcr.io/user/app'],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'pr-2',
|
main: 'pr-15',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:pr-2',
|
'org/app:pr-15',
|
||||||
'ghcr.io/user/app:pr-2'
|
'ghcr.io/user/app:pr-15'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=pr-2",
|
"org.opencontainers.image.version=pr-15",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2089,24 +2089,24 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'pr-2',
|
main: 'pr-15',
|
||||||
partial: ['sha-1e9249f'],
|
partial: ['sha-a9c8c58'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:pr-2',
|
'org/app:pr-15',
|
||||||
'org/app:sha-1e9249f',
|
'org/app:sha-a9c8c58',
|
||||||
'ghcr.io/user/app:pr-2',
|
'ghcr.io/user/app:pr-15',
|
||||||
'ghcr.io/user/app:sha-1e9249f'
|
'ghcr.io/user/app:sha-a9c8c58'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=pr-2",
|
"org.opencontainers.image.version=pr-15",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2121,24 +2121,24 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'sha-1e9249f',
|
main: 'sha-a9c8c58',
|
||||||
partial: ['pr-2'],
|
partial: ['pr-15'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:sha-1e9249f',
|
'org/app:sha-a9c8c58',
|
||||||
'org/app:pr-2',
|
'org/app:pr-15',
|
||||||
'ghcr.io/user/app:sha-1e9249f',
|
'ghcr.io/user/app:sha-a9c8c58',
|
||||||
'ghcr.io/user/app:pr-2'
|
'ghcr.io/user/app:pr-15'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sha-1e9249f",
|
"org.opencontainers.image.version=sha-a9c8c58",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2156,22 +2156,22 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'pr-2-bal',
|
main: 'pr-15-bal',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:pr-2-bal',
|
'org/app:pr-15-bal',
|
||||||
'ghcr.io/user/app:pr-2-bal'
|
'ghcr.io/user/app:pr-15-bal'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=pr-2-bal",
|
"org.opencontainers.image.version=pr-15-bal",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2189,22 +2189,22 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: '2-bal',
|
main: '15-bal',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:2-bal',
|
'org/app:15-bal',
|
||||||
'ghcr.io/user/app:2-bal'
|
'ghcr.io/user/app:15-bal'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=2-bal",
|
"org.opencontainers.image.version=15-bal",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2219,24 +2219,24 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'sha-f24900b',
|
main: 'sha-2665741',
|
||||||
partial: ['pr-8'],
|
partial: ['pr-15'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:sha-f24900b',
|
'org/app:sha-2665741',
|
||||||
'org/app:pr-8',
|
'org/app:pr-15',
|
||||||
'ghcr.io/user/app:sha-f24900b',
|
'ghcr.io/user/app:sha-2665741',
|
||||||
'ghcr.io/user/app:pr-8'
|
'ghcr.io/user/app:pr-15'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sha-f24900b",
|
"org.opencontainers.image.version=sha-2665741",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=f24900bfcfee76d8055c8421a164c7e57ad20e68",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2254,22 +2254,22 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: '8-bal',
|
main: '15-bal',
|
||||||
partial: [],
|
partial: [],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:8-bal',
|
'org/app:15-bal',
|
||||||
'ghcr.io/user/app:8-bal'
|
'ghcr.io/user/app:15-bal'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=8-bal",
|
"org.opencontainers.image.version=15-bal",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=f24900bfcfee76d8055c8421a164c7e57ad20e68",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2287,26 +2287,26 @@ describe('pr', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'pr-8',
|
main: 'pr-15',
|
||||||
partial: [
|
partial: [
|
||||||
'sha-f24900b',
|
'sha-2665741',
|
||||||
'sha-f24900bfcfee76d8055c8421a164c7e57ad20e68'
|
'sha-266574110acf203503badf966df2ea24b5d732d7'
|
||||||
],
|
],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:pr-8',
|
'org/app:pr-15',
|
||||||
'org/app:sha-f24900b',
|
'org/app:sha-2665741',
|
||||||
'org/app:sha-f24900bfcfee76d8055c8421a164c7e57ad20e68'
|
'org/app:sha-266574110acf203503badf966df2ea24b5d732d7'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=pr-8",
|
"org.opencontainers.image.version=pr-15",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=f24900bfcfee76d8055c8421a164c7e57ad20e68",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2334,7 +2334,7 @@ describe('pr', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=mytag-master",
|
"org.opencontainers.image.version=mytag-master",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=f24900bfcfee76d8055c8421a164c7e57ad20e68",
|
"org.opencontainers.image.revision=266574110acf203503badf966df2ea24b5d732d7",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2362,7 +2362,7 @@ describe('pr', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=mytag-master",
|
"org.opencontainers.image.version=mytag-master",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=1e9249f05bfc090e0688b8fb9c1b347586add504",
|
"org.opencontainers.image.revision=a9c8c5828b91be19d9728548b24759e352367ef1",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2394,7 +2394,7 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=nightly",
|
"org.opencontainers.image.version=nightly",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2422,7 +2422,7 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110",
|
"org.opencontainers.image.version=20200110",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2450,7 +2450,7 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110-003000",
|
"org.opencontainers.image.version=20200110-003000",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2478,7 +2478,7 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=nightly",
|
"org.opencontainers.image.version=nightly",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2494,14 +2494,14 @@ describe('schedule', () => {
|
|||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'nightly',
|
main: 'nightly',
|
||||||
partial: ['sha-90dd603'],
|
partial: ['sha-860c190'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:nightly',
|
'org/app:nightly',
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-860c190',
|
||||||
'ghcr.io/user/app:nightly',
|
'ghcr.io/user/app:nightly',
|
||||||
'ghcr.io/user/app:sha-90dd603'
|
'ghcr.io/user/app:sha-860c190'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"org.opencontainers.image.title=Hello-World",
|
"org.opencontainers.image.title=Hello-World",
|
||||||
@@ -2510,7 +2510,7 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=nightly",
|
"org.opencontainers.image.version=nightly",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2525,14 +2525,14 @@ describe('schedule', () => {
|
|||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
{
|
{
|
||||||
main: 'sha-90dd603',
|
main: 'sha-860c190',
|
||||||
partial: ['nightly'],
|
partial: ['nightly'],
|
||||||
latest: false
|
latest: false
|
||||||
} as Version,
|
} as Version,
|
||||||
[
|
[
|
||||||
'org/app:sha-90dd603',
|
'org/app:sha-860c190',
|
||||||
'org/app:nightly',
|
'org/app:nightly',
|
||||||
'ghcr.io/user/app:sha-90dd603',
|
'ghcr.io/user/app:sha-860c190',
|
||||||
'ghcr.io/user/app:nightly'
|
'ghcr.io/user/app:nightly'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -2540,9 +2540,9 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.description=This your first repo!",
|
"org.opencontainers.image.description=This your first repo!",
|
||||||
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.url=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=sha-90dd603",
|
"org.opencontainers.image.version=sha-860c190",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2575,7 +2575,7 @@ describe('schedule', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=glo-nightly-bal",
|
"org.opencontainers.image.version=glo-nightly-bal",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2587,7 +2587,7 @@ describe('release', () => {
|
|||||||
test.each([
|
test.each([
|
||||||
[
|
[
|
||||||
'release01',
|
'release01',
|
||||||
'event_release.env',
|
'event_release_created.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
@@ -2607,7 +2607,7 @@ describe('release', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=v1.1.1",
|
"org.opencontainers.image.version=v1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2619,7 +2619,7 @@ describe('raw', () => {
|
|||||||
test.each([
|
test.each([
|
||||||
[
|
[
|
||||||
'raw01',
|
'raw01',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -2647,13 +2647,13 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=dev",
|
"org.opencontainers.image.version=dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'raw02',
|
'raw02',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -2677,7 +2677,7 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=dev",
|
"org.opencontainers.image.version=dev",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2712,7 +2712,7 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=release1",
|
"org.opencontainers.image.version=release1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2749,7 +2749,7 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=20200110",
|
"org.opencontainers.image.version=20200110",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2795,7 +2795,7 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=1.1.1",
|
"org.opencontainers.image.version=1.1.1",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2830,13 +2830,13 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=my",
|
"org.opencontainers.image.version=my",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'raw07',
|
'raw07',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -2868,13 +2868,13 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=my",
|
"org.opencontainers.image.version=my",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'raw08',
|
'raw08',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -2904,13 +2904,13 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=my",
|
"org.opencontainers.image.version=my",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'raw09',
|
'raw09',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -2942,13 +2942,13 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=foo-my-bar",
|
"org.opencontainers.image.version=foo-my-bar",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'raw10',
|
'raw10',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -2976,7 +2976,7 @@ describe('raw', () => {
|
|||||||
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source=https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version=foo",
|
"org.opencontainers.image.version=foo",
|
||||||
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created=2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision=90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision=860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses=MIT"
|
"org.opencontainers.image.licenses=MIT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -2988,7 +2988,7 @@ describe('json', () => {
|
|||||||
test.each([
|
test.each([
|
||||||
[
|
[
|
||||||
'json01',
|
'json01',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -3015,14 +3015,14 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "dev",
|
"org.opencontainers.image.version": "dev",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'json02',
|
'json02',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -3042,7 +3042,7 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "dev",
|
"org.opencontainers.image.version": "dev",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3075,7 +3075,7 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "release1",
|
"org.opencontainers.image.version": "release1",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3109,7 +3109,7 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "20200110",
|
"org.opencontainers.image.version": "20200110",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3152,7 +3152,7 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "1.1.1",
|
"org.opencontainers.image.version": "1.1.1",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3184,7 +3184,7 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "my",
|
"org.opencontainers.image.version": "my",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3216,7 +3216,7 @@ describe('json', () => {
|
|||||||
"org.opencontainers.image.vendor": "MyCompany",
|
"org.opencontainers.image.vendor": "MyCompany",
|
||||||
"org.opencontainers.image.version": "v1.1.1",
|
"org.opencontainers.image.version": "v1.1.1",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3238,7 +3238,7 @@ describe('bake', () => {
|
|||||||
test.each([
|
test.each([
|
||||||
[
|
[
|
||||||
'bake01',
|
'bake01',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -3267,7 +3267,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "dev",
|
"org.opencontainers.image.version": "dev",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
@@ -3280,7 +3280,7 @@ describe('bake', () => {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'bake02',
|
'bake02',
|
||||||
'event_push.env',
|
'event_push_dev.env',
|
||||||
{
|
{
|
||||||
images: ['user/app'],
|
images: ['user/app'],
|
||||||
tags: [
|
tags: [
|
||||||
@@ -3302,7 +3302,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "dev",
|
"org.opencontainers.image.version": "dev",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
@@ -3343,7 +3343,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "release1",
|
"org.opencontainers.image.version": "release1",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
@@ -3385,7 +3385,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "20200110",
|
"org.opencontainers.image.version": "20200110",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
@@ -3436,7 +3436,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "1.1.1",
|
"org.opencontainers.image.version": "1.1.1",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
@@ -3476,7 +3476,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
"org.opencontainers.image.source": "https://github.com/octocat/Hello-World",
|
||||||
"org.opencontainers.image.version": "my",
|
"org.opencontainers.image.version": "my",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
@@ -3515,7 +3515,7 @@ describe('bake', () => {
|
|||||||
"org.opencontainers.image.vendor": "MyCompany",
|
"org.opencontainers.image.vendor": "MyCompany",
|
||||||
"org.opencontainers.image.version": "v1.1.1",
|
"org.opencontainers.image.version": "v1.1.1",
|
||||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
"org.opencontainers.image.revision": "860c1904a1ce19322e91ac35af1ab07466440c37",
|
||||||
"org.opencontainers.image.licenses": "MIT"
|
"org.opencontainers.image.licenses": "MIT"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ export function context(): Context {
|
|||||||
export async function repo(token: string): Promise<ReposGetResponseData> {
|
export async function repo(token: string): Promise<ReposGetResponseData> {
|
||||||
return github
|
return github
|
||||||
.getOctokit(token)
|
.getOctokit(token)
|
||||||
.rest.repos.get({
|
.rest.repos.get({...github.context.repo})
|
||||||
...github.context.repo
|
|
||||||
})
|
|
||||||
.then(response => response.data as ReposGetResponseData);
|
.then(response => response.data as ReposGetResponseData);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user