function = "fib";
Police Scotland have condemned the behaviour of some supporters as “shameful” and said arrests have been made after clashes at the end of the Scottish Cup quarter-final between Rangers and Celtic at Ibrox.
,详情可参考新收录的资料
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""。业内人士推荐新收录的资料作为进阶阅读
The result from Step 2 is a high-level route – a sequence of shortcuts connecting border points.。新收录的资料是该领域的重要参考