From e662ade06d87bd41333e9397a89b6c4e41f0813c Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Fri, 9 Jun 2023 12:47:27 +0200 Subject: [PATCH] chore(ci): don't fail to convert when committing while the action is running (#98) --- .github/workflows/fig2sketch.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/fig2sketch.yaml b/.github/workflows/fig2sketch.yaml index 13371d7c..81f6ac7e 100644 --- a/.github/workflows/fig2sketch.yaml +++ b/.github/workflows/fig2sketch.yaml @@ -24,3 +24,9 @@ jobs: author_name: Bot author_email: noreply@designers.italia.it message: 🤖 update converted Sketch file + # Pull before committing, so that HEAD is updated if there + # have been any commits while the converter was running. + # + # `true` would be more elegant once https://github.com/EndBug/add-and-commit/issues/498 + # is fixed + pull: " "