ci: only run test-retest-action if the PR modifies the action

There is no need to run the `test-retest-action` GitHub Workflow if
there are no changes under the `actions/retest` directory.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2023-02-21 09:35:41 +01:00 committed by mergify[bot]
parent 3325e5045e
commit c84b4a15ba

View File

@ -4,6 +4,9 @@ name: test-retest-action
on: on:
pull_request: pull_request:
branches: [devel] branches: [devel]
paths:
- 'actions/retest/**'
- '.github/workflows/test-retest-action.yaml'
permissions: permissions:
contents: read contents: read