Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .github/workflows/validate-manifest.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
# SPDX-License-Identifier: MIT
# Copyright (c) PromptKit Contributors

name: Validate Manifest
name: Validate Prompt Library

on:
push:
paths:
- 'manifest.yaml'
- 'personas/**'
- 'protocols/**'
- 'formats/**'
- 'taxonomies/**'
- 'templates/**'
- 'tests/validate-manifest.py'
- 'tests/validate-graph-integrity.py'
pull_request:
paths:
- 'manifest.yaml'
- 'personas/**'
- 'protocols/**'
- 'formats/**'
- 'taxonomies/**'
- 'templates/**'
- 'tests/validate-manifest.py'
- 'tests/validate-graph-integrity.py'

jobs:
validate-manifest:
Expand All @@ -29,3 +39,17 @@ jobs:

- name: Validate manifest protocols
run: python tests/validate-manifest.py

validate-graph-integrity:
name: Check prompt graph integrity
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Validate graph integrity
run: python tests/validate-graph-integrity.py
Loading
Loading