#52490: ci: try to detect bug issues from issue body
Description of Change
We're seeing more issues opened via the API (e.g. from AI agents) which unfortunately bypasses issue templates all together and as such these issues do not get added to the issue triage board or labeled automatically, even if they otherwise have correct issue bodies that match our expected template.
Lets try to work around this problem by detecting # Expected Behavior in the issue body and assuming it's a bug report, if the bug label is not present.
Checklist
- I have built and tested this change
- I have filled out the PR description
Release Notes
Notes: none
Backports
No Backports Requested
This pull request doesn't have any backports requested or created for older release branches.
What are backports?
Backports are copies of changes made to the main branch that are applied to older release branches. They ensure that bug fixes and important changes are available in maintained older versions of Electron.
Semver Impact
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron