Skip to content

Commit 4671d49

Browse files
authored
Readme: Trigger only on "READY TO REVIEW" label (#18)
The current version of the workflow triggers on any label applied; we only want this to trigger on "READY TO REVIEW" items in the reference workflow However, in this repo we want every workflow to trigger so it's easier to debug.
1 parent 5901fe2 commit 4671d49

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
with:
1919
comment-pr: true
2020
upload-results: true
21-
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}
21+
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
with:
4343
comment-pr: true
4444
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}
45+
require-label: 'READY TO REVIEW' # If this isn't set, the action will trigger any time *any* label is applied
4546
```
4647
4748
## Security Considerations

0 commit comments

Comments
 (0)