Skip to content

Commit 1289f3a

Browse files
committed
WIP: add check to diff workflow
Change-Id: I634e14f3876bc17f9c10110a185673bfda392aca
1 parent 58f6cc8 commit 1289f3a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/diff_chromium_branches.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,19 @@ jobs:
7575
upstream_branches: ${{ steps.set-upstream-branches.outputs.upstream_branches }}
7676
downstream_branch: ${{ steps.set-downstream-branch.outputs.downstream_branch }}
7777
code_ownership: ${{ steps.set-code-ownership.outputs.code_ownership }}
78+
calculate_diffs_without_upstream:
79+
needs: initialize-without-upstream
80+
runs-on: ubuntu-latest
81+
if: ${{ needs.initialize.outputs.upstream_branches == '' }}
82+
steps:
83+
- name: BLAH
84+
run: |
85+
set -eux
86+
echo "hello there's no upstream"
7887
calculate_diffs:
7988
needs: initialize
89+
# Check if there's any diff to perform
90+
if: ${{ needs.initialize.outputs.upstream_branches != '' }}
8091
runs-on: ubuntu-latest
8192
strategy:
8293
fail-fast: false

0 commit comments

Comments
 (0)