You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/12/03 18:14:14 UTC

[airflow] branch main updated: Revert "Work around change in GH Actions concurrency expression evaluation (#20023)" (#20025)

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

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 44e06fb  Revert "Work around change in GH Actions concurrency expression evaluation (#20023)" (#20025)
44e06fb is described below

commit 44e06fb2e139f9d010305387f7e5c75d9fd73dab
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Fri Dec 3 18:13:44 2021 +0000

    Revert "Work around change in GH Actions concurrency expression evaluation (#20023)" (#20025)
    
    This reverts commit 42c46842f415da6bca09fa83d636ef1751243692.
---
 .github/workflows/build-images.yml | 2 +-
 .github/workflows/ci.yml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml
index 4c38674..3f7c51a 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -50,7 +50,7 @@ env:
   GITHUB_REGISTRY_PUSH_IMAGE_TAG: ${{ github.event.pull_request.head.sha || github.sha }}
 
 concurrency:
-  group: build-${{ (github.event_name == 'pull_request' && github.event.pull_request.number) || github.ref }}
+  group: build-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true
 
 jobs:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3bd55f7..e730269 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,7 +69,7 @@ env:
   GITHUB_REGISTRY_WAIT_FOR_IMAGE: ${{ secrets.AIRFLOW_GITHUB_REGISTRY_WAIT_FOR_IMAGE != 'false' }}
 
 concurrency:
-  group: ci-${{ (github.event_name == 'pull_request' && github.event.pull_request.number) || github.ref }}
+  group: ci-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true
 
 jobs: