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' }}