From 4471a522bdad45dfa447e1753b4ee73de8fc7c8d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 5 Nov 2024 10:45:50 +0100 Subject: [PATCH] workflow: fix plan filter for `testingfarm{,-unit}` actions The testingfarm{,-unit} testplans are wrong, this is why the action is failing. Sadly because of the way it runs (via the `on: pull_request_target`) only what is in `main` will be run so it is hard to test these actions before merging :( --- .github/workflows/testingfarm-unit.yml | 2 +- .github/workflows/testingfarm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testingfarm-unit.yml b/.github/workflows/testingfarm-unit.yml index 6767415d7..67f900dca 100644 --- a/.github/workflows/testingfarm-unit.yml +++ b/.github/workflows/testingfarm-unit.yml @@ -34,7 +34,7 @@ jobs: uses: sclorg/testing-farm-as-github-action@v3 with: compose: Fedora-40 - tmt_plan_filter: "unit-go.fmf" + tmt_plan_regex: "/plans/unit-go" api_key: ${{ secrets.TF_API_KEY }} git_url: ${{ github.event.pull_request.head.repo.clone_url }} git_ref: ${{ github.event.pull_request.head.ref }} diff --git a/.github/workflows/testingfarm.yml b/.github/workflows/testingfarm.yml index eea5316ff..82c2c2732 100644 --- a/.github/workflows/testingfarm.yml +++ b/.github/workflows/testingfarm.yml @@ -51,7 +51,7 @@ jobs: uses: sclorg/testing-farm-as-github-action@v3 with: compose: Fedora-40 - tmt_plan_filter: "integration.fmf" + tmt_plan_regex: "/plans/integration" api_key: ${{ secrets.TF_API_KEY }} git_url: ${{ github.event.pull_request.head.repo.clone_url }} git_ref: ${{ github.event.pull_request.head.ref }}