Skip to content

Commit 972264b

Browse files
authored
ci: expand docs workflow triggers to include admin API and Ash resources (#1044)
The docs workflow now monitors additional backend paths to ensure documentation is regenerated when the GraphQL schema changes due to modifications in: - Admin API modules that define GraphQL types and operations - Ash resources and domains that are exposed through the schema This prevents outdated API documentation when backend changes are made outside the previously monitored schema directory. Also updates copyright year to 2025. Signed-off-by: Davide Briani <davide.briani@secomind.com>
1 parent 64300c3 commit 972264b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docs-workflow.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# This file is part of Edgehog.
33
#
4-
# Copyright 2021-2024 SECO Mind Srl
4+
# Copyright 2021-2025 SECO Mind Srl
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -26,8 +26,11 @@ on:
2626
# Documentation pages
2727
- 'doc/**'
2828
# Schema files
29+
- 'backend/lib/edgehog_web/admin_api/**'
2930
- 'backend/lib/edgehog_web/schema.ex'
3031
- 'backend/lib/edgehog_web/schema/**'
32+
# Ash resources, including new Ash domains
33+
- 'backend/lib/edgehog/**'
3134
- 'backend/mix.exs'
3235
- 'backend/mix.lock'
3336
# SpectaQL configuration file

0 commit comments

Comments
 (0)