Skip to content
Open
Show file tree
Hide file tree
Changes from 6 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
Binary file removed .DS_Store
Binary file not shown.
Binary file removed .github/.DS_Store
Binary file not shown.
28 changes: 24 additions & 4 deletions .github/workflows/fetch-issue-comments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
required: false
default: "false"
output_path:
description: "Output JSON path (defaults to data/issue_comments.json)"
description: "Output JSON path (defaults to data/issue-comments.json)"
required: false
full_resync:
description: "Ignore watermarks & ETags and backfill everything"
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
if [ -n "${{ github.event.inputs.output_path }}" ]; then
echo "VALUE=${{ github.event.inputs.output_path }}" >> "$GITHUB_OUTPUT"
else
echo "VALUE=data/issue_comments.json" >> "$GITHUB_OUTPUT"
echo "VALUE=data/issue-comments.json" >> "$GITHUB_OUTPUT"
fi

- name: Run comment fetcher
Expand Down Expand Up @@ -107,6 +107,25 @@ jobs:
path: ${{ steps.outpath.outputs.VALUE }}.gz
if-no-files-found: ignore
retention-days: 90

- name: Gzip Markdown for artifact (if exists)
shell: bash
run: |
MD_PATH="${{ steps.outpath.outputs.VALUE }}"
MD_PATH="${MD_PATH%.json}.md"
if [ -f "$MD_PATH" ]; then
gzip -c "$MD_PATH" > "$MD_PATH.gz"
else
echo "No markdown at $MD_PATH; skipping gzip."
fi

- name: Upload issue-comments markdown artifact (gz)
uses: actions/upload-artifact@v4
with:
name: issue-comments-${{ github.run_id }}.md.gz
path: ${{ steps.outpath.outputs.VALUE }}.md.gz
if-no-files-found: ignore
retention-days: 90

- name: Commit JSON to repo (optional & safe)
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.commit_to_repo == 'true' }}
Expand All @@ -118,10 +137,11 @@ jobs:
echo "No output file to commit."
exit 0
fi
if ! git diff --quiet -- "$OUT"; then
MD_OUT="${OUT%.json}.md"
if ! git diff --quiet -- "$OUT" "$MD_OUT"; then
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add "$OUT"
git add "$OUT" "$MD_OUT"
git commit -m "Update issue comments [skip ci]"
git push
else
Expand Down
48 changes: 47 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,50 @@
# Python virtual environments
.venv/
venv/
env/
ENV/

# macOS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python

# Environment variables
.env
.env.local

# Coverage reports (regenerated each test run)
coverage/
htmlcov/
.coverage
.coverage.*
*.cover
.pytest_cache/

# Node/npm (if you don't use JavaScript)
node_modules/
package-lock.json
coverage/

# IDE
.vscode/
.idea/

# Logs
*.log

# Keep data files - COMMIT THESE
# data/*.json
# data/*.md
# data/.syncmeta.*

# Keep .etag files too (used for incremental sync)
# data/.etag.*
1 change: 1 addition & 0 deletions data/.etag.hackforla.website.issues
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
W/"0fefa3ffb501fa575f17d0f8786de5ec38a0411ba61f23b586dd589137837ff5"
4 changes: 4 additions & 0 deletions data/.syncmeta.hackforla.ai-skills-assessor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"signature": "4f6d58043cb142dd7c9c556d8d8db103bbdc38ce84c34fc710919c6ed7566191",
"written_at": "2025-09-23T02:04:28.695437Z"
}
4 changes: 4 additions & 0 deletions data/.syncmeta.hackforla.website.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"signature": "5a347dc718930350bf00d11af5b0af27088305d38b8cf8e6c5d5d09c252e2331",
"written_at": "2025-10-28T01:34:00.852252Z"
}
4 changes: 4 additions & 0 deletions data/.syncmeta.your-org.your-repo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"signature": "4211dfd086d5b60b51558c5f31538b79adf6a1c07c65bc17d0ad868d39bea9c0",
"written_at": "2025-09-23T01:40:04.102710Z"
}
Loading