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 }}