From 0678a076e7ded9ee0a026650c9904a7dfecf7705 Mon Sep 17 00:00:00 2001 From: lleyton Date: Sat, 23 Sep 2023 02:00:52 -0700 Subject: [PATCH] fix: discard .patch files after apply --- .github/workflows/update-nightly.yml | 1 + .github/workflows/update.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index cbf6c6497c..04fd3fbc11 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -42,6 +42,7 @@ jobs: git format-patch HEAD^ git checkout $1 git apply *.patch || true + rm *.patch git add * git commit -S -a -m "$msg" } diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index cf1942d965..6568b53f64 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -43,6 +43,7 @@ jobs: git format-patch HEAD^ git checkout $1 git apply *.patch || true + rm *.patch git add * git commit -S -a -m "$msg" }