From f82eef8252fada762b2f0d8b51cbfdb87860605f Mon Sep 17 00:00:00 2001 From: Anton Baliasnikov Date: Fri, 7 Feb 2025 14:41:32 +0000 Subject: [PATCH] ci: lnt measurements in PRs --- .github/workflows/lnt-benchmarks.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lnt-benchmarks.yml b/.github/workflows/lnt-benchmarks.yml index aa001f958ebd..65b9e80d6db9 100644 --- a/.github/workflows/lnt-benchmarks.yml +++ b/.github/workflows/lnt-benchmarks.yml @@ -5,6 +5,7 @@ on: branches: - main workflow_dispatch: + pull_request: concurrency: group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -13,9 +14,11 @@ concurrency: jobs: lnt-benchmarks: + if: github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork uses: matter-labs/era-compiler-ci/.github/workflows/lnt.yml@v1 secrets: inherit with: compiler_llvm_branch: ${{ github.head_ref }} ccache-key: 'llvm-Linux-X64-gnu' compiler-llvm-repo: ${{ github.event.pull_request.head.repo.full_name }} + use-dev-machine: ${{ github.event_name != 'push' }}