Commit 631ac3c
Add checks/statuses read permissions to Claude workflow (#2487)
## Summary
- Adds `checks: read` and `statuses: read` to both job-level permissions
and `additional_permissions`, so Claude can fully read CI check results
on PRs
- Adds explicit `github_token` pass-through
- Aligns with the default claude-code-action install (as seen in
shakacode/backstopjs)
- Removes unused boilerplate comments
## Test plan
- [ ] Verify Claude can still respond to `@claude` mentions in
issues/PRs
- [ ] Verify Claude can read CI check status on PRs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated CI/CD workflow configuration to enhance automation and access
permissions for improved pipeline reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Workflow-only permission tweaks that add read access to
checks/statuses and a token pass-through; no application code changes.
>
> **Overview**
> Updates the `Claude Code` GitHub Actions workflow to grant additional
read-only access to CI metadata by adding `checks: read` and `statuses:
read` at both the job `permissions` level and in
`additional_permissions` passed to `claude-code-action`.
>
> Also explicitly passes `github_token` into the action and removes
unused commented boilerplate from the workflow configuration.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d1e568c. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 434d168 commit 631ac3c
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 45 | + | |
| 46 | + | |
0 commit comments