We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb976ce commit 8eef1a5Copy full SHA for 8eef1a5
src/index.ts
@@ -1,7 +1,10 @@
1
+import { assert } from './utils'
2
import { createConfig } from './config'
3
import { RyuCho } from './ryu-cho'
4
import core from '@actions/core'
5
6
+assert(typeof core !== 'undefined', `core is undefined, which probably means you're not running in a GitHub Action`)
7
+
8
const config = createConfig({
9
accessToken: core.getInput('access-token', { required: true }),
10
userName: core.getInput('username', { required: true }),
0 commit comments