chore(ci): only run tests on the examples when they are modified (#463)

Save CPU horsepower.

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/463
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
pull/464/head
Earl Warren 2025-01-28 15:39:43 +00:00 committed by earl-warren
parent d89873dda7
commit 70154d2b7d
No known key found for this signature in database
GPG Key ID: F128CBE6AB3A7201
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
branches:
- 'main'
pull_request:
paths:
- examples/docker-compose/**
- .forgejo/workflows/example-docker-compose.yml
jobs:
example-docker-compose:

View File

@ -4,6 +4,9 @@ on:
branches:
- 'main'
pull_request:
paths:
- examples/lxc-systemd/**
- .forgejo/workflows/example-lxc-systemd.yml
env:
SERIAL: "30"