Notify on manual list

This commit is contained in:
Gonzalo Peci 2025-01-15 10:56:21 +01:00
parent f804c5006d
commit 5a3321d2f3

View file

@ -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 }))
}