grafana / shared-workflows

A public-facing, centralized place to store reusable workflows used by Grafana Labs.
GNU Affero General Public License v3.0
8 stars 14 forks source link

fix: fix logic to include `merge_group` triggers #194

Closed dsotirakis closed 2 months ago

dsotirakis commented 3 months ago

Latest failures on main for the merge queue events (example) happen because there lint-pr-title action works only for pull_request or pull_request_target events.

This PR makes sure that it also works for merge_group.

dsotirakis commented 3 months ago

I think what we probably want to do is look into https://github.com/wagoid/commitlint-github-action and make this the required check, rather than the PR title.

The commit message is what we actually care about for release-please and not the PR title itself

yeah still experimenting, marked it as draft