From be1b60c209267145a35a4562d884a4b25aa7307d Mon Sep 17 00:00:00 2001 From: Ibrahim Serdar Acikgoz Date: Wed, 18 Dec 2024 12:56:26 +0100 Subject: [PATCH] workflows/perf: add new workflow to be triggered by a label --- .github/workflows/perf.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/perf.yml diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml new file mode 100644 index 00000000000..f55d15b2aaf --- /dev/null +++ b/.github/workflows/perf.yml @@ -0,0 +1,17 @@ +name: run-performance-tests + +on: + pull_request: + types: [ labeled ] + +jobs: + test: + runs-on: ubuntu-22.04 + if: ${{ github.event.label.name == 'Run Performance Tests' }} + steps: + - name: ci/checkout-repo + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + ref: ${{ github.event.pull_request.head.sha }} + - name: ci/test + uses: ./.github/actions/test