mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-07 16:49:03 +00:00
Notify on manual list
This commit is contained in:
parent
f804c5006d
commit
5a3321d2f3
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ async function getChangedFiles(
|
|||
initialFetchDepth: number
|
||||
): Promise<File[]> {
|
||||
if (files) {
|
||||
core.info('Using list of files provided as input')
|
||||
const doc = jsyaml.load(files) as string[]
|
||||
return doc.map(filename => ({ filename, status: ChangeStatus.Modified }))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue