mirror of
https://github.com/dorny/paths-filter.git
synced 2026-07-12 02:15:36 +00:00
Notify on manual list
This commit is contained in:
parent
f804c5006d
commit
5a3321d2f3
@ -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…
Reference in New Issue
Block a user