-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't build when CI run is a pull request #1354
Comments
Fixed in 15.4.0 Code signing skipped if build is a part of a PR. In the same way as deployment. |
|
@develar I don't know why this was added, looks incorrect to me, what if I want to have artifacts signed in my pull-requests for QA? |
@djalmaaraujo The issue description clearly describes why it was added. If you have other needs, open a separate issue and @develar might add an opt-in, but it's not a good default. |
@sindresorhus I understand the problem, but in circleci/Appveyor for example you don't have this issue. It would be ideal at least, to have a config option for that. |
Maybe I can do a "hack", setting all these 3 vars:
Just saying... :) |
It is not issue, it is security feature. On CircleCI you also can disable secret passing. As suggested above, please file issue to add option. |
It would be nice if
electron-builder
didn't try to build when the CI run is a pull request. The required codesign environment variables are not available on untrusted builds on Travis:I know I could turn off building on pull requests in the Travis repo settings, but I still want to do linting on pull requests.
Here's how it's currently failing: https://travis-ci.org/sindresorhus/caprine/jobs/210320431
The text was updated successfully, but these errors were encountered: