diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh b/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh index ed78c2bd1e..374ff0f919 100644 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh @@ -87,4 +87,5 @@ function apply_patches() { git fetch origin git checkout -B "${BASE_BRANCH}" "origin/${BASE_BRANCH}" git am "${SDK_OUTER_SRCDIR}"/third_party/coreos-overlay/0*.patch + rm -f "${SDK_OUTER_SRCDIR}"/third_party/coreos-overlay/0*.patch }