Skip to content
Closed
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
48 changes: 48 additions & 0 deletions .github/workflows/claude.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
name: Claude PR Assistant

on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]

jobs:
claude-code-action:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && contains(github.event.issue.body, '@claude'))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Claude PR Action
uses: anthropics/claude-code-action@beta
with:
anthropic_api_key: ${{secrets.ANTHROPIC_API_KEY }}
# Or use OAuth token instead:
# claude_code_oauth_token: ${{secrets.CLAUDE_CODE_OAUTH_TOKEN }}
timeout_minutes: "60"
# mode: tag # Default: responds to @claude mentions
# Optional: Restrict network access to specific domains only
# experimental_allowed_domains: |
# .anthropic.com
# .github.com
# api.github.com
# .githubusercontent.com
# bun.sh
# registry.npmjs.org
# .blob.core.windows.net
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/adongguo.github.io.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 72 additions & 0 deletions CLAUDE.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

## Repository Overview

This is the Git Developer Pages website (https://git.github.io), a Jekyll-based static site that serves as an information hub for Git developers. The site contains resources about Git development, the Git Rev News newsletter, and information about mentoring programs like Outreachy and Google Summer of Code.

## Development Commands

### Local Development
```bash
# Install dependencies
bundle install

# Serve site locally
bundle exec jekyll serve

# Site will be available at http://localhost:4000
```

### Adding Content
- Newsletter editions are in `_posts/` with filenames following the pattern `YYYY-MM-DD-edition-XX.markdown`
- Each newsletter edition uses Jekyll front matter with title, layout, date, author, and categories
- Regular pages are Markdown files with YAML front matter specifying layout and title
- Static files (CSS, images) are in their respective directories

## Codebase Structure

### Key Directories
- `_posts/` - Git Rev News newsletter editions (published monthly)
- `_layouts/` - HTML templates for page structure
- `_includes/` - Reusable HTML components
- `rev_news/` - Newsletter-specific pages and archives
- Root directory - Main pages like README.md, Hacking-Git.md, mentoring program information

### Important Files
- `Hacking-Git.md` - Core resource for Git developers with links to documentation
- `General-Application-Information.md` - Mentoring program requirements and guidelines
- `_config.yml` - Jekyll configuration
- `Gemfile` - Ruby dependencies

## Architecture

This is a standard Jekyll static site generator setup:
- Markdown content files are processed into static HTML
- Liquid templating engine used for dynamic content inclusion
- Posts in `_posts/` are automatically processed as blog entries
- Custom layouts in `_layouts/` define page structure
- Configuration in `_config.yml` controls site behavior

The site serves multiple purposes:
1. Resource hub for Git developers with documentation links
2. Host for the Git Rev News newsletter
3. Information center for mentoring programs
4. Community resource for Git development practices

## Common Development Tasks

### Adding a Newsletter Edition
1. Create a new file in `_posts/` with the naming convention `YYYY-MM-DD-edition-XX.markdown`
2. Use the standard front matter format (title, layout, date, author, categories)
3. Follow the content structure of previous editions
4. Test locally with `bundle exec jekyll serve`

### Updating Mentoring Program Information
1. Modify the appropriate Markdown files (e.g., `General-Application-Information.md`)
2. Ensure links to external resources are still valid
3. Update any outdated information about application processes
4. Test locally with `bundle exec jekyll serve`

this project is using github claude code action
1 change: 1 addition & 0 deletions WW_verify_HZQemUK1Ecn5eD5R.txt
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
HZQemUK1Ecn5eD5R
1 change: 1 addition & 0 deletions WW_verify_I7yolfFy94wlQxVH.txt
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
I7yolfFy94wlQxVH
1 change: 1 addition & 0 deletions WW_verify_SN8z9Uayb3E4IbzE.txt
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
SN8z9Uayb3E4IbzE