Skip to content

Commit f7f2042

Browse files
authored
docs: add workflow_dispatch trigger to CI workflow example (#15)
* docs: add workflow_dispatch trigger to CI workflow example * fix: update CI to check for files that actually exist
1 parent 0abf363 commit f7f2042

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
workflow_dispatch:
89

910
jobs:
1011
documentation-structure:
@@ -15,9 +16,8 @@ jobs:
1516

1617
- name: Check documentation structure
1718
run: |
18-
# Verify required documentation files exist
19+
# Verify patterns documentation exists
20+
test -d docs/patterns || { echo "Error: docs/patterns/ missing"; exit 1; }
1921
test -f docs/quickstart.md || { echo "Error: docs/quickstart.md missing"; exit 1; }
20-
test -f docs/architecture.md || { echo "Error: docs/architecture.md missing"; exit 1; }
21-
test -f docs/tutorial.md || { echo "Error: docs/tutorial.md missing"; exit 1; }
22-
test -f docs/api-reference.md || { echo "Error: docs/api-reference.md missing"; exit 1; }
22+
test -f docs/index.md || { echo "Error: docs/index.md missing"; exit 1; }
2323
echo "All required documentation files present"

docs/patterns/autonomous-quality-enforcement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ on:
277277
branches: [main]
278278
pull_request:
279279
branches: [main]
280+
workflow_dispatch:
280281

281282
jobs:
282283
validate:

0 commit comments

Comments
 (0)