{"action":"closed","issue":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/549","repository_url":"https://api.github.com/repos/PyGithub/PyGithub","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/549/comments","events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/549/events","html_url":"https://github.com/PyGithub/PyGithub/issues/549","id":219916172,"node_id":"MDU6SXNzdWUyMTk5MTYxNzI=","number":549,"title":"Allow create_git_tag to create signed tags","user":{"login":"sheluchin","id":1807980,"node_id":"MDQ6VXNlcjE4MDc5ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/1807980?v=4","gravatar_id":"","url":"https://api.github.com/users/sheluchin","html_url":"https://github.com/sheluchin","followers_url":"https://api.github.com/users/sheluchin/followers","following_url":"https://api.github.com/users/sheluchin/following{/other_user}","gists_url":"https://api.github.com/users/sheluchin/gists{/gist_id}","starred_url":"https://api.github.com/users/sheluchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheluchin/subscriptions","organizations_url":"https://api.github.com/users/sheluchin/orgs","repos_url":"https://api.github.com/users/sheluchin/repos","events_url":"https://api.github.com/users/sheluchin/events{/privacy}","received_events_url":"https://api.github.com/users/sheluchin/received_events","type":"User","site_admin":false},"labels":[{"id":988529147,"node_id":"MDU6TGFiZWw5ODg1MjkxNDc=","url":"https://api.github.com/repos/PyGithub/PyGithub/labels/stale","name":"stale","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-06T14:24:10Z","updated_at":"2018-07-19T10:22:17Z","closed_at":"2018-07-19T10:22:17Z","author_association":"NONE","body":"`create_git_tag` and `create_git_tag_and_release` do not create GPG signed tags, even if `.gitconfig` includes entries for the following:\r\n```\r\n[user]\r\n        ...\r\n        signingKey = <your key>\r\n[commit]\r\n        gpgsign = true\r\n[tag]\r\n        forceSignAnnotated = true\r\n```\r\n\r\nMy implementation can be seen [here](https://github.com/netquity/err-github-jira-release/blob/66f270e2b925a20a9e6b7167a8e30ffd580a8ab3/release.py#L181-L198).\r\n\r\nTo check if the tag is signed, use `git tag -v <tag>`:\r\n```\r\n$ git tag -v v1.1.0\r\nobject 0c5fa0fb65be9d8df42a8b044887764594f027ac\r\ntype commit\r\ntag v1.1.0\r\ntagger foobar <foobar@mail.com> 1491420504 +0000\r\n\r\nv1.1.0error: no signature found\r\n```\r\n\r\nLinks with some explanation:\r\n- `forceSignAnnotated`: https://github.com/git/git/commit/61c2fe0c2984a7785e2ac803ce33e23663295b24\r\n- https://help.github.com/articles/signing-commits-using-gpg/"}}
{"actor":{"display_login":"stale"}}