diff --git a/action.yml b/action.yml index f4f047d87..f0c2efa41 100644 --- a/action.yml +++ b/action.yml @@ -48,7 +48,7 @@ inputs: escape-paths: description: 'Escape special characters of filenames used in the `paths` output' required: false - default: false + default: "false" strip-top-level-dir: description: 'Strip the `$GITHUB_WORKSPACE` from the `paths` output' required: false diff --git a/src/main.ts b/src/main.ts index cfc625724..8a6adda8d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -64,7 +64,8 @@ export async function run(): Promise { required: true }) const baseRef = core.getInput('base-ref', {required: false}) - const headRepoFork = core.getBooleanInput('head-repo-fork', {required: false}) + const headRepoFork = + core.getInput('head-repo-fork', {required: false}) === 'true' const sha = core.getInput('sha', {required: includeDeletedFiles}) const baseSha = core.getInput('base-sha', {required: includeDeletedFiles})