cisagov / skeleton-generic

A generic skeleton project for quickly getting a new cisagov project started.
Creative Commons Zero v1.0 Universal
13 stars 11 forks source link

Improve merge queue support #156

Closed mcdonnnj closed 3 months ago

mcdonnnj commented 7 months ago

πŸ—£ Description

This pull request updates the build workflow's triggers to trigger on the checks_requested type of merge_group event in addition to the existing triggers. It also does a bit of formatting updates to conform with our best practices/preferences.

πŸ’­ Motivation and context

When using a merge queue in downstream repositories I have had some issues with workflows running consistently. This will hopefully improve that situation as well as ensuring we explicitly support merge queues. Any downstream repositories should add this same trigger to any required checks (such as CodeQL workflows). It will also align the workflow with the configuration specified in the documentation for adding a pull request to a merge queue.

πŸ§ͺ Testing

Automated tests pass.

βœ… Pre-approval checklist