We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45ae8a commit 10673caCopy full SHA for 10673ca
github/index.ts
@@ -229,9 +229,7 @@ process.exit(exitCode)
229
230
function assertContextEvent(...events: string[]) {
231
const context = useContext()
232
- // TODO
233
- console.log(context)
234
- if (events.includes(context.eventName)) {
+ if (!events.includes(context.eventName)) {
235
core.setFailed(`Unsupported event type: ${context.eventName}`)
236
process.exit(1)
237
}
0 commit comments