Be the first to know!
All 3 designs panelized into one PCB.
,更多细节参见新收录的资料
与GitHub深度集成,代码提交后自动构建部署,无需手动上传文件。预览环境自动生成,每个分支都有独立预览链接,协作更方便。无需运维,无需关心服务器配置、安全补丁、扩容等问题。
for dim in t.shape {
pr.json - name: Categorize PR with Claude uses: anthropics/claude-code-action@v1 with: prompt: | Read pr.json to get the PR title. Categorize the PR into exactly ONE of: new-feature, bug-fix, documentation. Write only the category (nothing else) to category.txt. # Only allow Claude to read from, and write to specific files claude_args: "--allowedTools 'Read(./pr.json),Edit(./category.txt)'" anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - name: Read category id: category # Don't trust and validate Claude output run: | read -r CATEGORY "$GITHUB_OUTPUT" else echo "::error::Unexpected category" exit 1 fi - name: Apply label env: PR_NUMBER: ${{ github.event.pull_request.number }} # Only inject the GitHub access token in the step that requires it GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Use an environment variable to securely interpolate untrusted data # coming from Claude's output CATEGORY: ${{ steps.category.outputs.value }} run: gh pr edit "$PR_NUMBER" --add-label "kind/$CATEGORY""