Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
ci: add test data
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Sep 23, 2022
1 parent 6f005d9 commit 30753e7
Show file tree
Hide file tree
Showing 23 changed files with 2,723 additions and 0 deletions.
1 change: 1 addition & 0 deletions testdata/delete/normal/data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
event_name: delete
9 changes: 9 additions & 0 deletions testdata/delete/normal/envs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
GHA_ACTOR: Codertocat
GHA_EVENT_NAME: delete
GHA_REPOSITORY: Codertocat/Hello-World
GHA_REPOSITORY_OWNER: Codertocat
GHA_REPOSITORY_NAME: Hello-World
GHA_SHA:
GHA_COMMIT_STATUS_SHA:
GHA_REF: refs/tags/simple-tag
GHA_REF_NAME: simple-tag
1 change: 1 addition & 0 deletions testdata/gollum/normal/data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
event_name: gollum
9 changes: 9 additions & 0 deletions testdata/gollum/normal/envs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
GHA_ACTOR: rachmari
GHA_EVENT_NAME: gollum
GHA_REPOSITORY: Codertocat/Hello-World
GHA_REPOSITORY_OWNER: Codertocat
GHA_REPOSITORY_NAME: Hello-World
GHA_SHA:
GHA_COMMIT_STATUS_SHA:
GHA_REF: refs/heads/master
GHA_REF_NAME: master
126 changes: 126 additions & 0 deletions testdata/gollum/normal/event.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"pages": [
{
"page_name": "Home",
"title": "Home",
"summary": null,
"action": "edited",
"sha": "6bf911d3801dd1ef957fc6ade5a8d96429e7fa39",
"html_url": "https://github.com/Codertocat/Hello-World/wiki/Home"
}
],
"repository": {
"id": 186853002,
"node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
"name": "Hello-World",
"full_name": "Codertocat/Hello-World",
"private": false,
"owner": {
"login": "Codertocat",
"id": 21031067,
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Codertocat",
"html_url": "https://github.com/Codertocat",
"followers_url": "https://api.github.com/users/Codertocat/followers",
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/Codertocat/Hello-World",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/Codertocat/Hello-World",
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
"created_at": "2019-05-15T15:19:25Z",
"updated_at": "2019-05-15T15:19:27Z",
"pushed_at": "2019-05-15T15:19:26Z",
"git_url": "git://github.com/Codertocat/Hello-World.git",
"ssh_url": "[email protected]:Codertocat/Hello-World.git",
"clone_url": "https://github.com/Codertocat/Hello-World.git",
"svn_url": "https://github.com/Codertocat/Hello-World",
"homepage": null,
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": null,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "rachmari",
"id": 9831992,
"node_id": "MDQ6VXNlcjk4MzE5OTI=",
"avatar_url": "https://avatars2.githubusercontent.com/u/9831992?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rachmari",
"html_url": "https://github.com/rachmari",
"followers_url": "https://api.github.com/users/rachmari/followers",
"following_url": "https://api.github.com/users/rachmari/following{/other_user}",
"gists_url": "https://api.github.com/users/rachmari/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rachmari/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rachmari/subscriptions",
"organizations_url": "https://api.github.com/users/rachmari/orgs",
"repos_url": "https://api.github.com/users/rachmari/repos",
"events_url": "https://api.github.com/users/rachmari/events{/privacy}",
"received_events_url": "https://api.github.com/users/rachmari/received_events",
"type": "User",
"site_admin": true
}
}
1 change: 1 addition & 0 deletions testdata/issue_comment/normal/data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
event_name: issue_comment
9 changes: 9 additions & 0 deletions testdata/issue_comment/normal/envs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
GHA_ACTOR: Codertocat
GHA_EVENT_NAME: issue_comment
GHA_REPOSITORY: Codertocat/Hello-World
GHA_REPOSITORY_OWNER: Codertocat
GHA_REPOSITORY_NAME: Hello-World
GHA_SHA:
GHA_COMMIT_STATUS_SHA:
GHA_REF: refs/heads/master
GHA_REF_NAME: master
Loading

0 comments on commit 30753e7

Please sign in to comment.