diff --git a/package.json b/package.json index 2081544..32b87b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/github-action-config-helper", - "version": "2.0.15", + "version": "2.0.16", "description": "Helper for GitHub Action to manage config.", "keywords": [ "github", @@ -36,7 +36,7 @@ "dependencies": { "@actions/github": "^4.0.0", "@octokit/plugin-rest-endpoint-methods": "^4.4.1", - "@technote-space/github-action-helper": "^4.4.2", + "@technote-space/github-action-helper": "^4.4.4", "js-yaml": "^3.14.0" }, "devDependencies": { diff --git a/src/utils.ts b/src/utils.ts index e5de40f..5aa6281 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -6,7 +6,7 @@ import {parseConfig} from './misc'; import {NOT_FOUND_STATUS} from './constant'; // eslint-disable-next-line @typescript-eslint/no-explicit-any -export const getConfig = async(fileName: string, octokit: Octokit, context: Context, options: { configPath?: string; ref?: string } = {}): Promise<{ [key: string]: any } | boolean> | never => { +export const getConfig = async(fileName: string, octokit: Octokit, context: Context, options: { configPath?: string; ref?: string } = {}): Promise<{ [key: string]: any } | false> | never => { const {configPath = '.github', ref} = options; try { const params: { diff --git a/yarn.lock b/yarn.lock index 8a514e1..f5bfc99 100644 --- a/yarn.lock +++ b/yarn.lock @@ -627,10 +627,10 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@technote-space/github-action-helper@^4.4.2": - version "4.4.2" - resolved "https://registry.yarnpkg.com/@technote-space/github-action-helper/-/github-action-helper-4.4.2.tgz#e88ecbcacc38f460e10a9184d9e927f258146881" - integrity sha512-V2xZwuNwLkizK2Pbj3g2Y5b8X16+9JfEoWbJaT7B48l7CB8mh1qEg5uoqK0X4bx2nIe4/2CtumlA1SA2U1P64Q== +"@technote-space/github-action-helper@^4.4.4": + version "4.4.4" + resolved "https://registry.yarnpkg.com/@technote-space/github-action-helper/-/github-action-helper-4.4.4.tgz#09acc6e4439523d2503adb115d8665e627a2aa44" + integrity sha512-3sy/b+V2GBKVxttEgjVQO+ZL2c0+UsVI10QMdMMR7evyF/wTXv6Pzarh2sHKqiKtnnzjXvfIT8ztfFR0vke7xQ== dependencies: "@actions/core" "^1.2.6" "@actions/github" "^4.0.0"