fix: recover workflow lint and template drift - #838
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 11ec676910
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| (github.event_name == 'issue_comment' && contains(github.event.comment.body || '', '@claude') && | ||
| !(github.event.issue.pull_request && github.event.issue.pull_request.url && github.event.issue.draft == true)) || |
There was a problem hiding this comment.
Exclude draft PR issue comments correctly
For issue_comment events on PR conversation comments, github.event.issue is the issue-shaped payload and does not include the PR's draft field, so github.event.issue.draft == true never becomes true. In repositories using this template, commenting @claude on a draft PR still starts the Claude job even though the new header says PR issue comments are excluded for drafts; the workflow needs to fetch the PR or otherwise use a payload that actually contains pull_request.draft before making this decision.
Useful? React with 👍 / 👎.
|
🎉 This PR is included in version 1.117.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Verification
Notes
npm audit --audit-level=high currently succeeds, but still reports the existing moderate js-yaml advisory through the Jest dependency tree. This PR does not force the disruptive downgrade suggested by npm audit fix.