We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22a8756 commit a6d463eCopy full SHA for a6d463e
src/config.mjs
@@ -47,7 +47,7 @@ export default class Config {
47
console.error(`Webhook configuration for app ${appid} at index ${index} is missing 'repo' or 'workflow_id'`);
48
process.exit(1);
49
}
50
- if (!webhook.access_token || !process.env.GITHUB_ACCESS_TOKEN || !config.github_token) {
+ if (!webhook.access_token && !process.env.GITHUB_ACCESS_TOKEN && !config.github_token) {
51
console.error(`Webhook configuration for app ${appid} at index ${index} is missing an access token and there's no default token set`);
52
53
0 commit comments