{"action":"closed","number":50,"pull_request":{"url":"https://api.github.com/repos/bcgov/repo-mountie/pulls/50","id":360095357,"node_id":"MDExOlB1bGxSZXF1ZXN0MzYwMDk1MzU3","html_url":"https://github.com/bcgov/repo-mountie/pull/50","diff_url":"https://github.com/bcgov/repo-mountie/pull/50.diff","patch_url":"https://github.com/bcgov/repo-mountie/pull/50.patch","issue_url":"https://api.github.com/repos/bcgov/repo-mountie/issues/50","number":50,"state":"closed","locked":false,"title":"Check if a compliance file exists befor creating a PR","user":{"login":"jleach","id":390891,"node_id":"MDQ6VXNlcjM5MDg5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/390891?v=4","gravatar_id":"","url":"https://api.github.com/users/jleach","html_url":"https://github.com/jleach","followers_url":"https://api.github.com/users/jleach/followers","following_url":"https://api.github.com/users/jleach/following{/other_user}","gists_url":"https://api.github.com/users/jleach/gists{/gist_id}","starred_url":"https://api.github.com/users/jleach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleach/subscriptions","organizations_url":"https://api.github.com/users/jleach/orgs","repos_url":"https://api.github.com/users/jleach/repos","events_url":"https://api.github.com/users/jleach/events{/privacy}","received_events_url":"https://api.github.com/users/jleach/received_events","type":"User","site_admin":false},"body":"Currently the bot will try and create a PR to add a compliance check file even if it exists on the master branch. This PR adds the ability for the bot to check if the file exists before creating the PR.\r\n\r\nFixes #35 ","created_at":"2020-01-07T17:31:34Z","updated_at":"2020-01-07T21:03:00Z","closed_at":"2020-01-07T21:03:00Z","merged_at":null,"merge_commit_sha":"5de87efcda6347109fcfd86cc19d6913df81aa1e","assignee":{"login":"jleach","id":390891,"node_id":"MDQ6VXNlcjM5MDg5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/390891?v=4","gravatar_id":"","url":"https://api.github.com/users/jleach","html_url":"https://github.com/jleach","followers_url":"https://api.github.com/users/jleach/followers","following_url":"https://api.github.com/users/jleach/following{/other_user}","gists_url":"https://api.github.com/users/jleach/gists{/gist_id}","starred_url":"https://api.github.com/users/jleach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleach/subscriptions","organizations_url":"https://api.github.com/users/jleach/orgs","repos_url":"https://api.github.com/users/jleach/repos","events_url":"https://api.github.com/users/jleach/events{/privacy}","received_events_url":"https://api.github.com/users/jleach/received_events","type":"User","site_admin":false},"assignees":[{"login":"jleach","id":390891,"node_id":"MDQ6VXNlcjM5MDg5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/390891?v=4","gravatar_id":"","url":"https://api.github.com/users/jleach","html_url":"https://github.com/jleach","followers_url":"https://api.github.com/users/jleach/followers","following_url":"https://api.github.com/users/jleach/following{/other_user}","gists_url":"https://api.github.com/users/jleach/gists{/gist_id}","starred_url":"https://api.github.com/users/jleach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleach/subscriptions","organizations_url":"https://api.github.com/users/jleach/orgs","repos_url":"https://api.github.com/users/jleach/repos","events_url":"https://api.github.com/users/jleach/events{/privacy}","received_events_url":"https://api.github.com/users/jleach/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1692874951,"node_id":"MDU6TGFiZWwxNjkyODc0OTUx","url":"https://api.github.com/repos/bcgov/repo-mountie/labels/security","name":"security","color":"5319e7","default":false,"description":"Platform Security"}],"milestone":null,"commits_url":"https://api.github.com/repos/bcgov/repo-mountie/pulls/50/commits","review_comments_url":"https://api.github.com/repos/bcgov/repo-mountie/pulls/50/comments","review_comment_url":"https://api.github.com/repos/bcgov/repo-mountie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcgov/repo-mountie/issues/50/comments","statuses_url":"https://api.github.com/repos/bcgov/repo-mountie/statuses/b474ceab96a2eb3e1265fa8c1cb76c544e77e01a","head":{"label":"bcgov:fix/comp-file-chk","ref":"fix/comp-file-chk","sha":"b474ceab96a2eb3e1265fa8c1cb76c544e77e01a","user":{"login":"bcgov","id":916280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/916280?v=4","gravatar_id":"","url":"https://api.github.com/users/bcgov","html_url":"https://github.com/bcgov","followers_url":"https://api.github.com/users/bcgov/followers","following_url":"https://api.github.com/users/bcgov/following{/other_user}","gists_url":"https://api.github.com/users/bcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/bcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcgov/subscriptions","organizations_url":"https://api.github.com/users/bcgov/orgs","repos_url":"https://api.github.com/users/bcgov/repos","events_url":"https://api.github.com/users/bcgov/events{/privacy}","received_events_url":"https://api.github.com/users/bcgov/received_events","type":"Organization","site_admin":false},"repo":{"id":151287128,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyODcxMjg=","name":"repo-mountie","full_name":"bcgov/repo-mountie","private":false,"owner":{"login":"bcgov","id":916280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/916280?v=4","gravatar_id":"","url":"https://api.github.com/users/bcgov","html_url":"https://github.com/bcgov","followers_url":"https://api.github.com/users/bcgov/followers","following_url":"https://api.github.com/users/bcgov/following{/other_user}","gists_url":"https://api.github.com/users/bcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/bcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcgov/subscriptions","organizations_url":"https://api.github.com/users/bcgov/orgs","repos_url":"https://api.github.com/users/bcgov/repos","events_url":"https://api.github.com/users/bcgov/events{/privacy}","received_events_url":"https://api.github.com/users/bcgov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bcgov/repo-mountie","description":"The repo mountie is a bot to help mange cultural policies relevant to our repos","fork":false,"url":"https://api.github.com/repos/bcgov/repo-mountie","forks_url":"https://api.github.com/repos/bcgov/repo-mountie/forks","keys_url":"https://api.github.com/repos/bcgov/repo-mountie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcgov/repo-mountie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcgov/repo-mountie/teams","hooks_url":"https://api.github.com/repos/bcgov/repo-mountie/hooks","issue_events_url":"https://api.github.com/repos/bcgov/repo-mountie/issues/events{/number}","events_url":"https://api.github.com/repos/bcgov/repo-mountie/events","assignees_url":"https://api.github.com/repos/bcgov/repo-mountie/assignees{/user}","branches_url":"https://api.github.com/repos/bcgov/repo-mountie/branches{/branch}","tags_url":"https://api.github.com/repos/bcgov/repo-mountie/tags","blobs_url":"https://api.github.com/repos/bcgov/repo-mountie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcgov/repo-mountie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcgov/repo-mountie/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcgov/repo-mountie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcgov/repo-mountie/statuses/{sha}","languages_url":"https://api.github.com/repos/bcgov/repo-mountie/languages","stargazers_url":"https://api.github.com/repos/bcgov/repo-mountie/stargazers","contributors_url":"https://api.github.com/repos/bcgov/repo-mountie/contributors","subscribers_url":"https://api.github.com/repos/bcgov/repo-mountie/subscribers","subscription_url":"https://api.github.com/repos/bcgov/repo-mountie/subscription","commits_url":"https://api.github.com/repos/bcgov/repo-mountie/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcgov/repo-mountie/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcgov/repo-mountie/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcgov/repo-mountie/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcgov/repo-mountie/contents/{+path}","compare_url":"https://api.github.com/repos/bcgov/repo-mountie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcgov/repo-mountie/merges","archive_url":"https://api.github.com/repos/bcgov/repo-mountie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcgov/repo-mountie/downloads","issues_url":"https://api.github.com/repos/bcgov/repo-mountie/issues{/number}","pulls_url":"https://api.github.com/repos/bcgov/repo-mountie/pulls{/number}","milestones_url":"https://api.github.com/repos/bcgov/repo-mountie/milestones{/number}","notifications_url":"https://api.github.com/repos/bcgov/repo-mountie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcgov/repo-mountie/labels{/name}","releases_url":"https://api.github.com/repos/bcgov/repo-mountie/releases{/id}","deployments_url":"https://api.github.com/repos/bcgov/repo-mountie/deployments","created_at":"2018-10-02T16:29:52Z","updated_at":"2020-01-07T20:33:42Z","pushed_at":"2020-01-07T20:33:43Z","git_url":"git://github.com/bcgov/repo-mountie.git","ssh_url":"git@github.com:bcgov/repo-mountie.git","clone_url":"https://github.com/bcgov/repo-mountie.git","svn_url":"https://github.com/bcgov/repo-mountie","homepage":"","size":712,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":7,"watchers":2,"default_branch":"master"}},"base":{"label":"bcgov:master","ref":"master","sha":"875f7f1895fb034d0cda7c62439b10754a2a8965","user":{"login":"bcgov","id":916280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/916280?v=4","gravatar_id":"","url":"https://api.github.com/users/bcgov","html_url":"https://github.com/bcgov","followers_url":"https://api.github.com/users/bcgov/followers","following_url":"https://api.github.com/users/bcgov/following{/other_user}","gists_url":"https://api.github.com/users/bcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/bcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcgov/subscriptions","organizations_url":"https://api.github.com/users/bcgov/orgs","repos_url":"https://api.github.com/users/bcgov/repos","events_url":"https://api.github.com/users/bcgov/events{/privacy}","received_events_url":"https://api.github.com/users/bcgov/received_events","type":"Organization","site_admin":false},"repo":{"id":151287128,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyODcxMjg=","name":"repo-mountie","full_name":"bcgov/repo-mountie","private":false,"owner":{"login":"bcgov","id":916280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/916280?v=4","gravatar_id":"","url":"https://api.github.com/users/bcgov","html_url":"https://github.com/bcgov","followers_url":"https://api.github.com/users/bcgov/followers","following_url":"https://api.github.com/users/bcgov/following{/other_user}","gists_url":"https://api.github.com/users/bcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/bcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcgov/subscriptions","organizations_url":"https://api.github.com/users/bcgov/orgs","repos_url":"https://api.github.com/users/bcgov/repos","events_url":"https://api.github.com/users/bcgov/events{/privacy}","received_events_url":"https://api.github.com/users/bcgov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bcgov/repo-mountie","description":"The repo mountie is a bot to help mange cultural policies relevant to our repos","fork":false,"url":"https://api.github.com/repos/bcgov/repo-mountie","forks_url":"https://api.github.com/repos/bcgov/repo-mountie/forks","keys_url":"https://api.github.com/repos/bcgov/repo-mountie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcgov/repo-mountie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcgov/repo-mountie/teams","hooks_url":"https://api.github.com/repos/bcgov/repo-mountie/hooks","issue_events_url":"https://api.github.com/repos/bcgov/repo-mountie/issues/events{/number}","events_url":"https://api.github.com/repos/bcgov/repo-mountie/events","assignees_url":"https://api.github.com/repos/bcgov/repo-mountie/assignees{/user}","branches_url":"https://api.github.com/repos/bcgov/repo-mountie/branches{/branch}","tags_url":"https://api.github.com/repos/bcgov/repo-mountie/tags","blobs_url":"https://api.github.com/repos/bcgov/repo-mountie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcgov/repo-mountie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcgov/repo-mountie/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcgov/repo-mountie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcgov/repo-mountie/statuses/{sha}","languages_url":"https://api.github.com/repos/bcgov/repo-mountie/languages","stargazers_url":"https://api.github.com/repos/bcgov/repo-mountie/stargazers","contributors_url":"https://api.github.com/repos/bcgov/repo-mountie/contributors","subscribers_url":"https://api.github.com/repos/bcgov/repo-mountie/subscribers","subscription_url":"https://api.github.com/repos/bcgov/repo-mountie/subscription","commits_url":"https://api.github.com/repos/bcgov/repo-mountie/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcgov/repo-mountie/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcgov/repo-mountie/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcgov/repo-mountie/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcgov/repo-mountie/contents/{+path}","compare_url":"https://api.github.com/repos/bcgov/repo-mountie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcgov/repo-mountie/merges","archive_url":"https://api.github.com/repos/bcgov/repo-mountie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcgov/repo-mountie/downloads","issues_url":"https://api.github.com/repos/bcgov/repo-mountie/issues{/number}","pulls_url":"https://api.github.com/repos/bcgov/repo-mountie/pulls{/number}","milestones_url":"https://api.github.com/repos/bcgov/repo-mountie/milestones{/number}","notifications_url":"https://api.github.com/repos/bcgov/repo-mountie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcgov/repo-mountie/labels{/name}","releases_url":"https://api.github.com/repos/bcgov/repo-mountie/releases{/id}","deployments_url":"https://api.github.com/repos/bcgov/repo-mountie/deployments","created_at":"2018-10-02T16:29:52Z","updated_at":"2020-01-07T20:33:42Z","pushed_at":"2020-01-07T20:33:43Z","git_url":"git://github.com/bcgov/repo-mountie.git","ssh_url":"git@github.com:bcgov/repo-mountie.git","clone_url":"https://github.com/bcgov/repo-mountie.git","svn_url":"https://github.com/bcgov/repo-mountie","homepage":"","size":712,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcgov/repo-mountie/pulls/50"},"html":{"href":"https://github.com/bcgov/repo-mountie/pull/50"},"issue":{"href":"https://api.github.com/repos/bcgov/repo-mountie/issues/50"},"comments":{"href":"https://api.github.com/repos/bcgov/repo-mountie/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/bcgov/repo-mountie/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/bcgov/repo-mountie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcgov/repo-mountie/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/bcgov/repo-mountie/statuses/b474ceab96a2eb3e1265fa8c1cb76c544e77e01a"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":81,"deletions":21,"changed_files":6}}
{"actor":{"display_login":"jleach"}}