Skip to content
Open
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SECRET_KEY=your-secret-key-here-change-in-production
31 changes: 31 additions & 0 deletions .github/workflows/validate_projects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# .github/workflows/validate_projects.yml
#
# This GitHub Actions workflow runs on every pull request.
# It ensures that all projects in data/projects.json have the required fields.
# If any project is missing a field, the PR is blocked from merging.

name: Validate Projects Data

on:
pull_request:
branches: [main]
paths:
- "data/projects.json" # Only runs when this file changes
- "scripts/validate_projects.py" # Or when the validator itself changes

jobs:
validate:
name: Check projects.json structure
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Run project validator
run: python scripts/validate_projects.py
Loading
Loading