We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ccc864 commit fc720d6Copy full SHA for fc720d6
.github/workflows/build.yml
@@ -286,6 +286,8 @@ jobs:
286
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
287
WIN_CERT_PASSWORD: ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
288
WIN_CERT_CONTAINER_NAME: ${{ secrets.INSTALLER_CERT_WINDOWS_CONTAINER }}
289
+ WIN_SIGNING_ENABLED: ${{ !github.event.pull_request.head.repo.fork }}
290
+
291
strategy:
292
matrix:
293
config: ${{ fromJson(needs.select-targets.outputs.build-matrix) }}
electron-app/scripts/windowsCustomSign.js
@@ -1,7 +1,7 @@
1
const childProcess = require('child_process');
2
3
exports.default = async function (configuration) {
4
- if (!process.env.GITHUB_ACTIONS) {
+ if (!process.env.GITHUB_ACTIONS || !process.env.WIN_SIGNING_ENABLED) {
5
return;
6
}
7
0 commit comments