Skip to content

Commit

Permalink
Fix typo in the Pull Request "build image" if. (#22585)
Browse files Browse the repository at this point in the history
In case Pull request is run in the "apache/airflow" repository,
image building happens in the ci.yml workflow as of #22542.

However there was a typo in the build-image workflow that made the
images build in both - BuildImage and CI workflow.

GitOrigin-RevId: 16b0d244c74ea7fbb3056604148b3eeddabd60ea
  • Loading branch information
potiuk authored and Cloud Composer Team committed Sep 18, 2024
1 parent 6cde9db commit 7a21ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
fail-fast: true
if: |
needs.build-info.outputs.image-build == 'true' &&
github.event.pull_request.repo.head.full_name != 'apache/airflow'
github.event.pull_request.head.repo.full_name != 'apache/airflow'
env:
RUNS_ON: ${{ fromJson(needs.build-info.outputs.runsOn)[0] }}
BACKEND: sqlite
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
fail-fast: true
if: |
needs.build-info.outputs.image-build == 'true' &&
github.event.pull_request.repo.head.full_name != 'apache/airflow'
github.event.pull_request.head.repo.full_name != 'apache/airflow'
env:
RUNS_ON: ${{ fromJson(needs.build-info.outputs.runsOn)[0] }}
BACKEND: sqlite
Expand Down

0 comments on commit 7a21ef0

Please sign in to comment.