fix(workflow): update prompt for Claude to provide default instructions on issue labeling (#7832)

This commit is contained in:
Andras Bacsai 2026-01-01 11:53:36 +01:00 committed by GitHub
commit d474a6cb8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,8 +41,8 @@ jobs:
additional_permissions: |
actions: read
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
# prompt: 'Update the pull request description to include a summary of changes.'
# When triggered by Claude label, provide default prompt to work on the issue
prompt: ${{ github.event.action == 'labeled' && 'Please analyze this issue and implement a solution. Follow the project guidelines in CLAUDE.md.' || '' }}
# Optional: Add claude_args to customize behavior and configuration
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md