fix: update input warning (#1870)
Co-authored-by: tj-actions[bot] <109116665+tj-actions-bot@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -256,12 +256,7 @@ export async function run(): Promise<void> {
|
||||
(!hasGitDirectory || inputs.useRestApi)
|
||||
) {
|
||||
core.info("Using GitHub's REST API to get changed files")
|
||||
if (process.env.GITHUB_ACTION_PATH) {
|
||||
await warnUnsupportedRESTAPIInputs({
|
||||
actionPath: path.join(process.env.GITHUB_ACTION_PATH, 'action.yml'),
|
||||
inputs
|
||||
})
|
||||
}
|
||||
await warnUnsupportedRESTAPIInputs({inputs})
|
||||
await getChangedFilesFromRESTAPI({
|
||||
inputs,
|
||||
filePatterns,
|
||||
|
||||
Reference in New Issue
Block a user