Skip to content

Commit bc586a4

Browse files
committed
TO-DROP: avoid triggering stuff inadvertently
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 9d914b1 commit bc586a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test-pr-comment-delivery.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
const localSettings = JSON.parse(fs.readFileSync('local.settings.json'))
5555
Object.entries(localSettings.Values).forEach(([key, value]) => process.env[key] = value)
5656

57+
// avoid accidentally triggering anything
58+
delete process.env.GITHUB_APP_PRIVATE_KEY
59+
delete process.env.AZURE_PIPELINE_TRIGGER_TOKEN
60+
5761
const index = require('./GitForWindowsHelper/index')
5862
console.log(await index(context, req) || context.res)
5963
})().catch(console.log)

0 commit comments

Comments
 (0)