[examples] add June 5–16 2026 incidents — monthly sweep (635 → 639) #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: validate-export | |
| on: | |
| pull_request: | |
| paths: | |
| - "tactics/**" | |
| - "techniques/**" | |
| - "tools/export_json.py" | |
| - "tools/oak.json" | |
| - ".github/workflows/validate-export.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "tactics/**" | |
| - "techniques/**" | |
| - "tools/export_json.py" | |
| permissions: | |
| contents: read | |
| jobs: | |
| export: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Run export_json.py and verify oak.json is up to date | |
| run: | | |
| python tools/export_json.py --out tools/oak.json | |
| if ! git diff --quiet -- tools/oak.json; then | |
| echo "::error::tools/oak.json is stale. Run 'python tools/export_json.py' locally and commit the result." | |
| git --no-pager diff tools/oak.json | |
| exit 1 | |
| fi | |
| echo "OK: tools/oak.json matches the generated output." |