From 652246d1fa5b48b0fb8eeccbd045847d9cf3c7a9 Mon Sep 17 00:00:00 2001 From: Faruk AYDIN Date: Wed, 13 Sep 2023 21:22:33 +0200 Subject: [PATCH 1/2] chore: Run CI builds only for pull requests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 427e976674..8b82d49e1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: Automatisch CI -on: [push] +on: [pull_request] jobs: linter: runs-on: ubuntu-latest From 6aba56235f98c598004e60f3641bf6d6abfad35c Mon Sep 17 00:00:00 2001 From: Ali BARIN Date: Wed, 13 Sep 2023 20:10:03 +0000 Subject: [PATCH 2/2] chore: run GH actions on push to main branch --- .github/workflows/ci.yml | 7 ++++++- .github/workflows/playwright.yml | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b82d49e1e..669a02c4b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,10 @@ name: Automatisch CI -on: [pull_request] +on: + push: + branches: + - main + pull_request: + jobs: linter: runs-on: ubuntu-latest diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 0add160eec..b5eda9562f 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,8 +1,9 @@ name: Automatisch UI Tests on: push: - schedule: - - cron: '0 12 * * *' + branches: + - main + pull_request: workflow_dispatch: env: