Skip to content

Instantly share code, notes, and snippets.

@gamerson
Created October 21, 2020 19:01
Show Gist options
  • Save gamerson/f8e05eb879e7c30a537190a10b0011fd to your computer and use it in GitHub Desktop.
Save gamerson/f8e05eb879e7c30a537190a10b0011fd to your computer and use it in GitHub Desktop.
payload.json
{
"action": "created",
"issue": {
"url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3",
"repository_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test",
"labels_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3/comments",
"events_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3/events",
"html_url": "https://github.com/gamerson/lfrgs-sim-ips-test/issues/3",
"id": 725970390,
"node_id": "MDU6SXNzdWU3MjU5NzAzOTA=",
"number": 3,
"title": "Initial setup for Lugot to help with upgrade.",
"user": {
"login": "lugbot",
"id": 60489274,
"node_id": "MDQ6VXNlcjYwNDg5Mjc0",
"avatar_url": "https://avatars0.githubusercontent.com/u/60489274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lugbot",
"html_url": "https://github.com/lugbot",
"followers_url": "https://api.github.com/users/lugbot/followers",
"following_url": "https://api.github.com/users/lugbot/following{/other_user}",
"gists_url": "https://api.github.com/users/lugbot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lugbot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lugbot/subscriptions",
"organizations_url": "https://api.github.com/users/lugbot/orgs",
"repos_url": "https://api.github.com/users/lugbot/repos",
"events_url": "https://api.github.com/users/lugbot/events{/privacy}",
"received_events_url": "https://api.github.com/users/lugbot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"assignees": [],
"milestone": null,
"comments": 8,
"created_at": "2020-10-20T21:53:06Z",
"updated_at": "2020-10-21T19:01:14Z",
"closed_at": null,
"author_association": "COLLABORATOR",
"active_lock_reason": null,
"body": "# Lugbot Quickstart\n\n## Steps to configure Lugbot\n\n### [Configure your webhooks settings](https://github.com/gamerson/lfrgs-sim-ips-test/settings/hooks) and add a webhook for @lugbot.\n- Go to your repo's setting page: https://github.com/gamerson/lfrgs-sim-ips-test/settings/hooks\n- Click **Add Webhook** button\n- Paste in this webhook url:\n**`http://629d73f917f7.ngrok.io/hooks/lugbot`**\n- Switch Content type to: **`application/json`**\n- Leave **`Secret`** blank.\n- Under **`Which events would you like`** select **`Send me everything.`**\n- Click **`Add webhook`**\n- Leave **`Active`** setting with default\n\n### Prepare an upgrade branch\n- Create a branch to process your upgrade\n- In this branch, add a file to the root of the repo: `.liferay/lugbot.yaml`. See [lugbot.yaml] section for details.\n- Push upgrade branch to repo\n- Once upgrade branch is pushing, lugbot will begin processing repo\n\n### Using lugbot\n\n- Once lugbot sends pull requests, you can review, merge, or close those pull requests.\n- Each branch that is sent by lugbot will be named `lugbot_<nameofupgrade>`\n- Lugbot will not rerun that particular \"upgrade\" if that branch is still available\n- To get lugbot to re-run a particular upgrade, you will need to close the PR and delete the remote branch\n- If you would like lugbot to re-run all of upgrade processing on your repo, do one of the following\n-- push a commit to your \"upgrade\" branch\n-- add any comment on this issue.\n\n## lugbot.yaml\n\nBelow is sample conetnts of a `.liferay/lugbot.yaml` file.\n\n```yaml\ncurrentVersion: \"6.2\"\nupgradeVersion: \"7.3\"\n```",
"performed_via_github_app": null
},
"comment": {
"url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/comments/713806786",
"html_url": "https://github.com/gamerson/lfrgs-sim-ips-test/issues/3#issuecomment-713806786",
"issue_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3",
"id": 713806786,
"node_id": "MDEyOklzc3VlQ29tbWVudDcxMzgwNjc4Ng==",
"user": {
"login": "gamerson",
"id": 595221,
"node_id": "MDQ6VXNlcjU5NTIyMQ==",
"avatar_url": "https://avatars2.githubusercontent.com/u/595221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gamerson",
"html_url": "https://github.com/gamerson",
"followers_url": "https://api.github.com/users/gamerson/followers",
"following_url": "https://api.github.com/users/gamerson/following{/other_user}",
"gists_url": "https://api.github.com/users/gamerson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gamerson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gamerson/subscriptions",
"organizations_url": "https://api.github.com/users/gamerson/orgs",
"repos_url": "https://api.github.com/users/gamerson/repos",
"events_url": "https://api.github.com/users/gamerson/events{/privacy}",
"received_events_url": "https://api.github.com/users/gamerson/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2020-10-21T19:01:14Z",
"updated_at": "2020-10-21T19:01:14Z",
"author_association": "OWNER",
"body": "test",
"performed_via_github_app": null
},
"repository": {
"id": 305839106,
"node_id": "MDEwOlJlcG9zaXRvcnkzMDU4MzkxMDY=",
"name": "lfrgs-sim-ips-test",
"full_name": "gamerson/lfrgs-sim-ips-test",
"private": true,
"owner": {
"login": "gamerson",
"id": 595221,
"node_id": "MDQ6VXNlcjU5NTIyMQ==",
"avatar_url": "https://avatars2.githubusercontent.com/u/595221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gamerson",
"html_url": "https://github.com/gamerson",
"followers_url": "https://api.github.com/users/gamerson/followers",
"following_url": "https://api.github.com/users/gamerson/following{/other_user}",
"gists_url": "https://api.github.com/users/gamerson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gamerson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gamerson/subscriptions",
"organizations_url": "https://api.github.com/users/gamerson/orgs",
"repos_url": "https://api.github.com/users/gamerson/repos",
"events_url": "https://api.github.com/users/gamerson/events{/privacy}",
"received_events_url": "https://api.github.com/users/gamerson/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/gamerson/lfrgs-sim-ips-test",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test",
"forks_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/forks",
"keys_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/teams",
"hooks_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/hooks",
"issue_events_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/events{/number}",
"events_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/events",
"assignees_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/assignees{/user}",
"branches_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/branches{/branch}",
"tags_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/tags",
"blobs_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/statuses/{sha}",
"languages_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/languages",
"stargazers_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/stargazers",
"contributors_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/contributors",
"subscribers_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/subscribers",
"subscription_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/subscription",
"commits_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/contents/{+path}",
"compare_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/merges",
"archive_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/downloads",
"issues_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues{/number}",
"pulls_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/pulls{/number}",
"milestones_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/milestones{/number}",
"notifications_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/labels{/name}",
"releases_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/releases{/id}",
"deployments_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/deployments",
"created_at": "2020-10-20T21:36:10Z",
"updated_at": "2020-10-20T21:41:22Z",
"pushed_at": "2020-10-21T18:54:35Z",
"git_url": "git://github.com/gamerson/lfrgs-sim-ips-test.git",
"ssh_url": "[email protected]:gamerson/lfrgs-sim-ips-test.git",
"clone_url": "https://github.com/gamerson/lfrgs-sim-ips-test.git",
"svn_url": "https://github.com/gamerson/lfrgs-sim-ips-test",
"homepage": null,
"size": 212558,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Java",
"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": 1,
"license": null,
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "gamerson",
"id": 595221,
"node_id": "MDQ6VXNlcjU5NTIyMQ==",
"avatar_url": "https://avatars2.githubusercontent.com/u/595221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gamerson",
"html_url": "https://github.com/gamerson",
"followers_url": "https://api.github.com/users/gamerson/followers",
"following_url": "https://api.github.com/users/gamerson/following{/other_user}",
"gists_url": "https://api.github.com/users/gamerson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gamerson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gamerson/subscriptions",
"organizations_url": "https://api.github.com/users/gamerson/orgs",
"repos_url": "https://api.github.com/users/gamerson/repos",
"events_url": "https://api.github.com/users/gamerson/events{/privacy}",
"received_events_url": "https://api.github.com/users/gamerson/received_events",
"type": "User",
"site_admin": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment