From b9610e3e0ab4b8e303ee34a98a42e31740a742ce Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Wed, 18 Dec 2024 09:45:33 +0100 Subject: [PATCH] Benchmarks: Fix workflow. [only benchmarks] --- .github/workflows/Benchmark.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index fdb0d50e3..d13fc79af 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -9,28 +9,16 @@ on: pull_request_target: branches: - main - paths: - - "src/**/*" - - "lib/**/*" - - "ext/**/*" - - "perf/**/*" - - ".buildkite/**/*" - - "Project.toml" push: branches: - main - paths: - - "src/**/*" - - "lib/**/*" - - "ext/**/*" - - "perf/**/*" - - ".buildkite/**/*" - - "Project.toml" jobs: benchmark: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - name: Download Buildkite Artifacts id: download uses: EnricoMi/download-buildkite-artifact-action@v1 @@ -54,8 +42,8 @@ jobs: output-file-path: ${{ steps.locate.outputs.path }} benchmark-data-dir-path: "bench" github-token: ${{ secrets.GITHUB_TOKEN }} - comment-always: ${{ github.event_name == 'pull_request' }} + comment-always: ${{ github.event_name == 'pull_request_target' }} summary-always: true alert-threshold: "125%" fail-on-alert: false - auto-push: ${{ github.event_name != 'pull_request' }} + auto-push: ${{ github.event_name != 'pull_request_target' }}