From 3f1eda785d2c24d15f6c157a0d81af8ffee24919 Mon Sep 17 00:00:00 2001 From: nikimanoledaki Date: Mon, 21 Oct 2024 16:21:37 +0200 Subject: [PATCH] run branch specified Signed-off-by: nikimanoledaki --- .github/workflows/benchmark-pipeline.yaml | 2 +- .github/workflows/benchmark-workflows/falco.yml | 3 ++- projects/projects.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark-pipeline.yaml b/.github/workflows/benchmark-pipeline.yaml index 27c385b..fe17f12 100644 --- a/.github/workflows/benchmark-pipeline.yaml +++ b/.github/workflows/benchmark-pipeline.yaml @@ -68,7 +68,7 @@ jobs: steps: - uses: jenseng/dynamic-uses@v1 with: - uses: ${{ inputs.benchmark_path }} + uses: ${{ inputs.benchmark_path }}@${{ github.ref_name }} delete: runs-on: ubuntu-22.04 diff --git a/.github/workflows/benchmark-workflows/falco.yml b/.github/workflows/benchmark-workflows/falco.yml index 01eed90..3fbb87d 100644 --- a/.github/workflows/benchmark-workflows/falco.yml +++ b/.github/workflows/benchmark-workflows/falco.yml @@ -6,4 +6,5 @@ jobs: stress-ng-test: runs-on: ubuntu-22.04 steps: - - run: echo "done" + - run: | + echo "github.ref_name: ${{ github.ref_name }}" diff --git a/projects/projects.json b/projects/projects.json index 4830043..30beea1 100644 --- a/projects/projects.json +++ b/projects/projects.json @@ -3,7 +3,7 @@ { "name": "falco", "organization": "falcosecurity", - "benchmark_path": ".github/workflows/benchmark-workflows/falco.yml@nm/add-benchmark-path", + "benchmark_path": ".github/workflows/benchmark-workflows/falco.yml", "configs": [ "ebpf", "modern-ebpf",