diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..4aa86fcb --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +SECRET_KEY=your-secret-key-here-change-in-production \ No newline at end of file diff --git a/.github/workflows/validate_projects.yml b/.github/workflows/validate_projects.yml new file mode 100644 index 00000000..0af8ce0c --- /dev/null +++ b/.github/workflows/validate_projects.yml @@ -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 diff --git a/README.md b/README.md index 2c7da69c..e44bd738 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +<<<<<<< HEAD
@@ -462,3 +463,477 @@ MIT — see [LICENSE](LICENSE)
+
+
+
+
+Projects you've bookmarked for later reference.
+