From fe4d0b89dc5aa2d506ccd6de2da55594c06dbb5e Mon Sep 17 00:00:00 2001 From: spaenleh Date: Fri, 16 Feb 2024 10:22:43 +0100 Subject: [PATCH] fix: configure merge queue --- .github/workflows/ci.yml | 7 ++++++- .github/workflows/cypress.yml | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 683fa7cca..8ca78f685 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,11 @@ name: CI checks -on: [push] +on: + push: + branches: + - "main" + merge_group: + pull_request: jobs: build-and-test: diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index a753fdb6a..47c8e0e68 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -1,9 +1,11 @@ name: Cypress CI -# Control when the action will run on: - # Triggers the workflow on push events except for the main branch push: + branches: + - "main" + merge_group: + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}