Fix prettier formatting
This commit is contained in:
37
test-workflow-example.yml
Normal file
37
test-workflow-example.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Test Claude Code Action
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
pull_request_review_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
claude:
|
||||
if: contains(github.event.comment.body, '@claude-test') # Using different trigger for testing
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Debug Environment
|
||||
run: |
|
||||
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
|
||||
echo "Current directory: $(pwd)"
|
||||
echo "Repository structure:"
|
||||
find . -type f -name "*.py" | head -10
|
||||
|
||||
- name: Run Claude Code Action
|
||||
uses: YOUR_USERNAME/claude-code-action@fix-mcp-undefined-error
|
||||
with:
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Optional: add debug mode if your fork supports it
|
||||
debug: true
|
||||
Reference in New Issue
Block a user