{"action":"created","issue":{"url":"https://api.github.com/repos/probonopd/uploadtool/issues/20","repository_url":"https://api.github.com/repos/probonopd/uploadtool","labels_url":"https://api.github.com/repos/probonopd/uploadtool/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/probonopd/uploadtool/issues/20/comments","events_url":"https://api.github.com/repos/probonopd/uploadtool/issues/20/events","html_url":"https://github.com/probonopd/uploadtool/issues/20","id":275124149,"number":20,"title":"Upload to transfer.sh if GITHUB_TOKEN is missing","user":{"login":"TheAssassin","id":4503202,"avatar_url":"https://avatars3.githubusercontent.com/u/4503202?v=4","gravatar_id":"","url":"https://api.github.com/users/TheAssassin","html_url":"https://github.com/TheAssassin","followers_url":"https://api.github.com/users/TheAssassin/followers","following_url":"https://api.github.com/users/TheAssassin/following{/other_user}","gists_url":"https://api.github.com/users/TheAssassin/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAssassin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAssassin/subscriptions","organizations_url":"https://api.github.com/users/TheAssassin/orgs","repos_url":"https://api.github.com/users/TheAssassin/repos","events_url":"https://api.github.com/users/TheAssassin/events{/privacy}","received_events_url":"https://api.github.com/users/TheAssassin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-19T01:31:59Z","updated_at":"2017-11-19T06:37:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It would be super useful if uploadtool would just always upload the results somewhere, even if an upload to GitHub releases is not possible. I know that this behavior is partly intentional to make people add the token environment variable, but I think not uploading at all isn't ideal either.\r\n\r\nOne could show a big, fat, red warning that the token is missing, but I'd upload to transfer.sh in that case, otherwise it gets difficult to test the build results. Also, forks which implement a feature might not want to upload to GitHub releases either, or create PR in the upstream project just yet, e.g., to prevent premature merging. Hence, it makes sense to upload to transfer.sh in those cases, allowing everyone to test the artifacts and verify them.\r\n\r\nThe current workaround for this limitation is to \"emulate\" a PR by calling `export TRAVIS_EVENT_TYPE=pull_request`, which obviously has to be removed in a PR afterwards, leaving a chance of being merged by the upstream project, which is more problematic than implementing the behavior proposed in this issue."},"comment":{"url":"https://api.github.com/repos/probonopd/uploadtool/issues/comments/345495802","html_url":"https://github.com/probonopd/uploadtool/issues/20#issuecomment-345495802","issue_url":"https://api.github.com/repos/probonopd/uploadtool/issues/20","id":345495802,"user":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars3.githubusercontent.com/u/2480569?v=4","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T06:37:53Z","updated_at":"2017-11-19T06:37:53Z","author_association":"OWNER","body":"> I know that this behavior is partly intentional to make people add the token environment variable\r\n\r\nIndeed...\r\n\r\nCan you give an example use case for the suggested feature, other than laziness to add a `GITHUB_TOKEN` (which we want to encourage users to add)?"}}
{"actor":{"display_login":"probonopd"}}