diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4fea913..f6a75a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,4 +18,4 @@ jobs: - uses: ./ with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_PATH: .github/needs-more-info.yml + CONFIG_FILE: .github/needs-more-info.yml diff --git a/README.md b/README.md index 23f7705..737e4c4 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ jobs: - uses: bubkoo/needs-more-info@v1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_PATH: Yaml config file path + CONFIG_FILE: Yaml config file path ``` ## Config diff --git a/action.yml b/action.yml index 2ecdd07..66ca58e 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ inputs: GITHUB_TOKEN: description: Your GitHub token for authentication required: true - CONFIG_PATH: + CONFIG_FILE: description: Config file path relative to your repo's root. required: false runs: diff --git a/src/action.ts b/src/action.ts index 641b33e..2cc356b 100644 --- a/src/action.ts +++ b/src/action.ts @@ -19,7 +19,7 @@ export namespace Action { let badBody = !body || !body.trim() let badTitle = !title || !title.trim() - const configPath = core.getInput('CONFIG_PATH') + const configPath = core.getInput('CONFIG_FILE') const octokit = Util.getOctokit() const config = await Config.get(octokit, configPath)