Skip to content

fix: add issue_message key for first timer pr review action#37155

Closed
TheSecurityDev wants to merge 4 commits intocommaai:masterfrom
TheSecurityDev:fix-first-interactions-issue-message
Closed

fix: add issue_message key for first timer pr review action#37155
TheSecurityDev wants to merge 4 commits intocommaai:masterfrom
TheSecurityDev:fix-first-interactions-issue-message

Conversation

@TheSecurityDev
Copy link
Copy Markdown
Contributor

@TheSecurityDev TheSecurityDev commented Feb 11, 2026

Similar to #37144, except that it didn't actually fix the error "Input required and not supplied: issue_message", because I think that error started showing now that those other ones were fixed.

It looks like now we always need an "issue_message" key set, even though the trigger is only set for PR reviews, so it's not used. An empty string doesn't seem to work, so I've just added a decent placeholder, even though it's never actually triggered.

Example failure:
https://github.com/commaai/openpilot/pull/37154/checks?sha=9d4f24e201d13a50ad55b6cf3650e475829f270f

Copilot AI review requested due to automatic review settings February 11, 2026 04:05
@TheSecurityDev TheSecurityDev marked this pull request as draft February 11, 2026 04:06
@TheSecurityDev
Copy link
Copy Markdown
Contributor Author

Huh that didn't work

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the actions/first-interaction@v3 workflow configuration so the action no longer fails due to a missing required input (issue_message) during first-timer PR review runs.

Changes:

  • Add the required issue_message input (as an empty string) to the actions/first-interaction@v3 step to satisfy input validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TheSecurityDev
Copy link
Copy Markdown
Contributor Author

Ohhh so it only applies after it's been merged. It's still running the broken version on this PR.

@TheSecurityDev TheSecurityDev marked this pull request as ready for review February 11, 2026 04:35
@TheSecurityDev
Copy link
Copy Markdown
Contributor Author

Looks like empty key has been added already now, let's see if that works instead

@adeebshihadeh
Copy link
Copy Markdown
Contributor

Looks like empty works

@TheSecurityDev
Copy link
Copy Markdown
Contributor Author

Looks like empty works

Uhh it looks like it doesn't actually 🙃 It only happens on the very first commit when you open the PR, so it's difficult to test. But it just happened again to me on a fresh PR.
https://github.com/commaai/openpilot/actions/runs/22072216885/job/63779355846?pr=37229

@andiradulescu
Copy link
Copy Markdown
Contributor

@adeebshihadeh issue_message: "" didn't work.. @TheSecurityDev is right - maybe merge this PR instead?

I also submitted a PR to actions/first-interaction actions/first-interaction#403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants