From dd6c1645f9229e7788a69b6e5d8860be7a7e4009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20H=C3=B8egh?= Date: Fri, 22 Nov 2024 11:06:23 +0100 Subject: [PATCH] ci: only run actions on git commits Except when opening a PR from main to release etc. --- .github/workflows/e2e.yml | 6 +++++- .github/workflows/icons-lib.yml | 3 --- .github/workflows/verify.yml | 6 +++++- .github/workflows/visual-regression.yml | 6 +++++- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 36942d70e44..46dd4006f75 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,7 +14,11 @@ on: - '!alpha' pull_request: branches: - - 'main' + - 'portal' + - 'release' + - 'beta' + - 'alpha' + - 'next' types: [opened] concurrency: diff --git a/.github/workflows/icons-lib.yml b/.github/workflows/icons-lib.yml index 403f5be7c2c..d5d4737de4a 100644 --- a/.github/workflows/icons-lib.yml +++ b/.github/workflows/icons-lib.yml @@ -4,9 +4,6 @@ on: push: branches: - 'icon*/**' - pull_request: - branches: - - 'icon*/**' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 5ad70b697e3..6f092413a3d 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -10,7 +10,11 @@ on: - '!experiments/**' pull_request: branches: - - 'main' + - 'portal' + - 'release' + - 'beta' + - 'alpha' + - 'next' types: [opened] concurrency: diff --git a/.github/workflows/visual-regression.yml b/.github/workflows/visual-regression.yml index 7a281886b0a..8049784b35e 100644 --- a/.github/workflows/visual-regression.yml +++ b/.github/workflows/visual-regression.yml @@ -14,7 +14,11 @@ on: - '!alpha' pull_request: branches: - - 'main' + - 'portal' + - 'release' + - 'beta' + - 'alpha' + - 'next' types: [opened] concurrency: