From 2e83cc2883496ac388548f1fe826e92123c0784f Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 9 Jun 2023 23:58:00 +0200 Subject: [PATCH] Only run builds on "push" events for v* test branch We do not need to run separate build on push and pull request when we are cherry-picking and pushing branch to apache/airflow repo. Those PRs are always made by committers, and they are done as direct push to the apache/airflow repo so they will run build on push (which will be equivalent of canary run). We also do not need to run anything on stable, because stable is the result of merging those changes from test after they get green. --- .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 5671422022236..18d5f16d6e8db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ on: # yamllint disable-line rule:truthy push: branches: ['main', 'v[0-9]+-[0-9]+-test'] pull_request: - branches: ['main', 'v[0-9]+-[0-9]+-test', 'v[0-9]+-[0-9]+-stable'] + branches: ['main'] permissions: # All other permissions are set to none contents: read