From 2cb0595888d4088647ed9f5739c0a5d3e44e3d19 Mon Sep 17 00:00:00 2001 From: Norbert Orzechowicz Date: Sun, 29 Oct 2023 13:40:52 +0100 Subject: [PATCH] Changed benchmark workflow trigger and permissions --- .github/workflows/test-benchmark.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-benchmark.yml b/.github/workflows/test-benchmark.yml index 5087911b3..65f93c92d 100644 --- a/.github/workflows/test-benchmark.yml +++ b/.github/workflows/test-benchmark.yml @@ -1,10 +1,7 @@ name: Benchmark Suite on: - pull_request_target: - types: - - opened - - synchronize + pull_request: paths: - '.github/workflows/**' - 'src/adapter/**' @@ -14,6 +11,9 @@ on: - 'composer.json' - 'composer.lock' +permissions: + issues: write + # See https://stackoverflow.com/a/72408109 concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}