Skip to content

Commit

Permalink
fix: invalid input
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 12, 2022
1 parent de53eb3 commit 1298096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export async function run(): Promise<void> {
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})

Expand Down

0 comments on commit 1298096

Please sign in to comment.