diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml new file mode 100644 index 0000000000..77946ae4a2 --- /dev/null +++ b/.github/workflows/claude.yml @@ -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 \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000..13566b81b0 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/adongguo.github.io.iml b/.idea/adongguo.github.io.iml new file mode 100644 index 0000000000..24643cc374 --- /dev/null +++ b/.idea/adongguo.github.io.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000..a5cbe7951e --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000..35eb1ddfbb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000000..c9f496cc74 --- /dev/null +++ b/CLAUDE.md @@ -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 \ No newline at end of file diff --git a/WW_verify_HZQemUK1Ecn5eD5R.txt b/WW_verify_HZQemUK1Ecn5eD5R.txt new file mode 100644 index 0000000000..32029da8ca --- /dev/null +++ b/WW_verify_HZQemUK1Ecn5eD5R.txt @@ -0,0 +1 @@ +HZQemUK1Ecn5eD5R diff --git a/WW_verify_I7yolfFy94wlQxVH.txt b/WW_verify_I7yolfFy94wlQxVH.txt new file mode 100644 index 0000000000..139acdc9a1 --- /dev/null +++ b/WW_verify_I7yolfFy94wlQxVH.txt @@ -0,0 +1 @@ +I7yolfFy94wlQxVH diff --git a/WW_verify_SN8z9Uayb3E4IbzE.txt b/WW_verify_SN8z9Uayb3E4IbzE.txt new file mode 100644 index 0000000000..cde914089e --- /dev/null +++ b/WW_verify_SN8z9Uayb3E4IbzE.txt @@ -0,0 +1 @@ +SN8z9Uayb3E4IbzE