Enable Merge Group For AWSome Books

Since the CI workflow of AWSome Books has been set up with the merge_group event (checkout the .github/workflows/ci.yml file),

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
name: CI

on:
  pull_request:
    branches: [main]
    types: [opened, synchronize, reopened]
    paths-ignore:
      - docs/**
      - docker-compose.dev.yml

  merge_group:
    branches: [main]

  workflow_dispatch:

you just need to enable the Require merge queue rule in the ruleset.

1. Under the awsome-books GitHub repository,

  • Click Settings.
  • Expand the Rules dropdown.
  • Select Rulesets.
  • Click main-protection.

0001

2. Enable Require merge queue.

0002

3. Scroll down to the bottom, click Save changes.

0003

Now, the AWSDSC-XUT team can accelerate code integration into a busy branch, while ensuring it remains stable and free from incompatible changes.