Created
November 7, 2019 18:59
-
-
Save uc-compass-bot/95bec2b87c76ef9a37ff75165c752fdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Application} from 'probot'; | |
import {Context} from 'probot/lib/context'; | |
export = (app: Application) => { | |
app.on('pull_request', async (context: Context) => { | |
context.logger.info('Pull Request event', context.payload); | |
}); | |
app.on('check_suite.requested', async (context: Context) => { | |
await context.github.checks.create({ | |
status: 'queued', | |
}); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment