This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-1-test by this push:
     new ad6347a  Converts the specification of branch for pushes to be 
flexible (#17065)
ad6347a is described below

commit ad6347a9dc2c9ffce2db528dd695f2ed36c382b0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Jul 19 04:51:21 2021 +0200

    Converts the specification of branch for pushes to be flexible (#17065)
    
    We already have flexible configuration of branches in CI workflow
    but we missed them in build-images.yml - as a result direct pushes
    to v2-1-test branch are not building the images.
    
    This PR brings flexible branch specification to build-images
    workflow as well so that we will not have to update it
    even when we release 2.2, 3.0 etc. branches.
    
    (cherry picked from commit ab915201068919b02e8e00e723f127715f71a12b)
---
 .github/workflows/build-images.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-images.yml 
b/.github/workflows/build-images.yml
index 363455c..433187c 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -22,7 +22,7 @@ on:  # yamllint disable-line rule:truthy
     - cron: '28 0 * * *'
   pull_request_target:
   push:
-    branches: ['main', 'v1-10-test', 'v1-10-stable', 'v2-0-test']
+    branches: ['main', 'v[0-9]+-[0-9]+-test']
 permissions:
   # all other permissions are set to none
   contents: read

Reply via email to