We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2834c0 commit 42e95ddCopy full SHA for 42e95dd
src/runner.rb
@@ -17,6 +17,6 @@ class NotifyOrganizationRetryableError < StandardError; end
17
RUNNER_INPUT = {}.freeze
18
end
19
20
-RUNNER_CODE = RUNNER_INPUT.fetch('code', nil) || ENV.fetch('RUNNER_CODE', '')
21
-FIELDS = RUNNER_INPUT.fetch('fields', nil) || ENV.fetch('RUNNER_FIELDS', {})
22
-ACCOUNT = RUNNER_INPUT.fetch('account', nil) || ENV.fetch('RUNNER_ACCOUNT', {})
+RUNNER_CODE = RUNNER_INPUT.fetch('code', nil) || JSON.parse(ENV.fetch('RUNNER_CODE', '{}'))
+FIELDS = RUNNER_INPUT.fetch('fields', nil) || JSON.parse(ENV.fetch('RUNNER_FIELDS', '{}'))
+ACCOUNT = RUNNER_INPUT.fetch('account', nil) || JSON.parse(ENV.fetch('RUNNER_ACCOUNT', '{}'))
0 commit comments