Skip to content

Commit

Permalink
workflow: fix plan filter for testingfarm{,-unit} actions
Browse files Browse the repository at this point in the history
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 :(
  • Loading branch information
mvo5 committed Nov 5, 2024
1 parent 19acee6 commit dc1ebb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testingfarm-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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_filter: "/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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testingfarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: sclorg/testing-farm-as-github-action@v3
with:
compose: Fedora-40
tmt_plan_filter: "integration.fmf"
tmt_plan_filter: "/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 }}
Expand Down

0 comments on commit dc1ebb8

Please sign in to comment.