mirror of
https://gitea.com/actions/dorny-paths-filter.git
synced 2026-08-30 20:44:06 +01:00
fix: work around git dubious ownership errors in container jobs (#317)
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
} from './filter'
|
||||
import {File, ChangeStatus} from './file'
|
||||
import * as git from './git'
|
||||
import {cleanup as cleanupSafeDirectory} from './safe-directory'
|
||||
import {backslashEscape, shellEscape} from './list-format/shell-escape'
|
||||
import {csvEscape} from './list-format/csv-escape'
|
||||
|
||||
@@ -55,6 +56,8 @@ async function run(): Promise<void> {
|
||||
exportResults(results, listFiles)
|
||||
} catch (error) {
|
||||
core.setFailed(getErrorMessage(error))
|
||||
} finally {
|
||||
await cleanupSafeDirectory()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user