Skip to content

Commit a05a389

Browse files
committed
add test-action.yml
1 parent 0a6eb10 commit a05a389

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test-action.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Claude Code Action
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
prompt:
7+
description: 'Direct prompt for Claude'
8+
required: true
9+
default: 'Hello Claude! Please introduce yourself and list the files in this repository.'
10+
11+
jobs:
12+
test-claude:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
issues: write
18+
actions: write
19+
id-token: write
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Run Local Claude Code Action
27+
uses: ./
28+
with:
29+
direct_prompt: ${{ inputs.prompt }}
30+
use_oauth: true

0 commit comments

Comments
 (0)