payload: {"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11148","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11148/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11148/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11148/events","html_url":"https://github.com/PowerShell/PowerShell/pull/11148","id":526880621,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ0MjY2MDg0","number":11148,"title":"Added WindowsPS version check for WinCompat","user":{"login":"anmenaga","id":11860095,"node_id":"MDQ6VXNlcjExODYwMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/11860095?v=4","gravatar_id":"","url":"https://api.github.com/users/anmenaga","html_url":"https://github.com/anmenaga","followers_url":"https://api.github.com/users/anmenaga/followers","following_url":"https://api.github.com/users/anmenaga/following{/other_user}","gists_url":"https://api.github.com/users/anmenaga/gists{/gist_id}","starred_url":"https://api.github.com/users/anmenaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmenaga/subscriptions","organizations_url":"https://api.github.com/users/anmenaga/orgs","repos_url":"https://api.github.com/users/anmenaga/repos","events_url":"https://api.github.com/users/anmenaga/events{/privacy}","received_events_url":"https://api.github.com/users/anmenaga/received_events","type":"User","site_admin":false},"labels":[{"id":1126735368,"node_id":"MDU6TGFiZWwxMTI2NzM1MzY4","url":"https://api.github.com/repos/PowerShell/PowerShell/labels/CL-General","name":"CL-General","color":"fbca04","default":false,"description":"Indicates that a PR should be marked as a general cmdlet change in the Change Log"}],"state":"open","locked":false,"assignee":{"login":"adityapatwardhan","id":12820925,"node_id":"MDQ6VXNlcjEyODIwOTI1","avatar_url":"https://avatars0.githubusercontent.com/u/12820925?v=4","gravatar_id":"","url":"https://api.github.com/users/adityapatwardhan","html_url":"https://github.com/adityapatwardhan","followers_url":"https://api.github.com/users/adityapatwardhan/followers","following_url":"https://api.github.com/users/adityapatwardhan/following{/other_user}","gists_url":"https://api.github.com/users/adityapatwardhan/gists{/gist_id}","starred_url":"https://api.github.com/users/adityapatwardhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityapatwardhan/subscriptions","organizations_url":"https://api.github.com/users/adityapatwardhan/orgs","repos_url":"https://api.github.com/users/adityapatwardhan/repos","events_url":"https://api.github.com/users/adityapatwardhan/events{/privacy}","received_events_url":"https://api.github.com/users/adityapatwardhan/received_events","type":"User","site_admin":false},"assignees":[{"login":"adityapatwardhan","id":12820925,"node_id":"MDQ6VXNlcjEyODIwOTI1","avatar_url":"https://avatars0.githubusercontent.com/u/12820925?v=4","gravatar_id":"","url":"https://api.github.com/users/adityapatwardhan","html_url":"https://github.com/adityapatwardhan","followers_url":"https://api.github.com/users/adityapatwardhan/followers","following_url":"https://api.github.com/users/adityapatwardhan/following{/other_user}","gists_url":"https://api.github.com/users/adityapatwardhan/gists{/gist_id}","starred_url":"https://api.github.com/users/adityapatwardhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityapatwardhan/subscriptions","organizations_url":"https://api.github.com/users/adityapatwardhan/orgs","repos_url":"https://api.github.com/users/adityapatwardhan/repos","events_url":"https://api.github.com/users/adityapatwardhan/events{/privacy}","received_events_url":"https://api.github.com/users/adityapatwardhan/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PowerShell/PowerShell/milestones/77","html_url":"https://github.com/PowerShell/PowerShell/milestone/77","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones/77/labels","id":4868407,"node_id":"MDk6TWlsZXN0b25lNDg2ODQwNw==","number":77,"title":"rc.1-consider","description":"PR's being considered to be merged into the release branch","creator":{"login":"TravisEz13","id":10873629,"node_id":"MDQ6VXNlcjEwODczNjI5","avatar_url":"https://avatars1.githubusercontent.com/u/10873629?v=4","gravatar_id":"","url":"https://api.github.com/users/TravisEz13","html_url":"https://github.com/TravisEz13","followers_url":"https://api.github.com/users/TravisEz13/followers","following_url":"https://api.github.com/users/TravisEz13/following{/other_user}","gists_url":"https://api.github.com/users/TravisEz13/gists{/gist_id}","starred_url":"https://api.github.com/users/TravisEz13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravisEz13/subscriptions","organizations_url":"https://api.github.com/users/TravisEz13/orgs","repos_url":"https://api.github.com/users/TravisEz13/repos","events_url":"https://api.github.com/users/TravisEz13/events{/privacy}","received_events_url":"https://api.github.com/users/TravisEz13/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":4,"state":"open","created_at":"2019-11-22T01:15:45Z","updated_at":"2019-12-09T23:20:41Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2019-11-21T22:37:00Z","updated_at":"2019-12-10T00:22:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/11148","html_url":"https://github.com/PowerShell/PowerShell/pull/11148","diff_url":"https://github.com/PowerShell/PowerShell/pull/11148.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/11148.patch"},"body":"# PR Summary\r\n\r\nWinCompat functionality needs Windows PS 5.1\r\nThis change modifies `Import-Module` so that WinCompat returns an error if Windows PS on the current system is not 5.1 (with recommendation to install WMF).\r\n\r\n## PR Checklist\r\n\r\n- [X] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n    - Use the present tense and imperative mood when describing your changes\r\n- [X] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n- [X] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n- [X] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).\r\n    - If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.\r\n- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)**\r\n    - [X] None\r\n    - **OR**\r\n    - [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md)\r\n        - [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->\r\n- **User-facing changes**\r\n    - [X] Not Applicable\r\n    - **OR**\r\n    - [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n        - [ ] Issue filed: <!-- Number/link of that issue here -->\r\n- **Testing - New and feature**\r\n    - [ ] N/A or can only be tested interactively\r\n    - **OR**\r\n    - [X] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)\r\n- **Tooling**\r\n    - [X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.\r\n    - **OR**\r\n    - [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:\r\n        - Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell) for VSCode (which runs in a different PS Host).\r\n        - Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.\r\n        - Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) (which provides linting & formatting in the editor extensions).\r\n        - Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments/563501702","html_url":"https://github.com/PowerShell/PowerShell/pull/11148#issuecomment-563501702","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11148","id":563501702,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MzUwMTcwMg==","user":{"login":"anmenaga","id":11860095,"node_id":"MDQ6VXNlcjExODYwMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/11860095?v=4","gravatar_id":"","url":"https://api.github.com/users/anmenaga","html_url":"https://github.com/anmenaga","followers_url":"https://api.github.com/users/anmenaga/followers","following_url":"https://api.github.com/users/anmenaga/following{/other_user}","gists_url":"https://api.github.com/users/anmenaga/gists{/gist_id}","starred_url":"https://api.github.com/users/anmenaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmenaga/subscriptions","organizations_url":"https://api.github.com/users/anmenaga/orgs","repos_url":"https://api.github.com/users/anmenaga/repos","events_url":"https://api.github.com/users/anmenaga/events{/privacy}","received_events_url":"https://api.github.com/users/anmenaga/received_events","type":"User","site_admin":false},"created_at":"2019-12-10T00:22:21Z","updated_at":"2019-12-10T00:22:21Z","author_association":"CONTRIBUTOR","body":"Codacy failure seems to be false positive because it does not correctly handle code branches based on preprocessor directives."}}
other: {"actor":{"display_login":"anmenaga"}}