From 806cced54c83579204bc20d943cd6c6041cf26af Mon Sep 17 00:00:00 2001 From: Julien Maupetit Date: Thu, 5 Dec 2024 14:30:15 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A(project)=20avoid=20CI=20inception?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't want to regenerate a bench database entry when we just merged one 😅 --- .github/workflows/api.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index ead48e06..609c04b7 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -217,9 +217,9 @@ jobs: }); }); - # Only when a PR is merged + # Only when a PR is merged and not when this PR has been generated by a bot update-bench-db: - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' && github.actor != "github-actions" }} needs: - build-api - bench-api