Skip to content

Commit

Permalink
💚(project) avoid CI inception
Browse files Browse the repository at this point in the history
We don't want to regenerate a bench database entry when we just merged
one 😅
  • Loading branch information
jmaupetit committed Dec 5, 2024
1 parent 0e8c0a8 commit 806cced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 806cced

Please sign in to comment.