Skip to content

Commit

Permalink
ci: wait for update-packagejson3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 8, 2025
1 parent 2bcafa3 commit e9a724c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test-update-packagejson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ jobs:
echo -n "FACT: branch-name for update-packagejson should be expected. "
if [[ "${{ needs.update-packagejson.outputs.branch-name }}" == "test-release/${{ needs.set-tag.outputs.tag }}" ]]; then echo "[O PASS]"; else echo "[X FAIL]" && exit 1; fi
echo -n "FACT: branch-name for update-packagejson2 should be empty. "
if [[ "${{ needs.update-packagejson2.outputs.branch-name }}" == "${{ github.head_ref }}" ]]; then echo "[O PASS]"; else echo "[X FAIL]" && exit 1; fi
if [[ "${{ needs.update-packagejson2.outputs.branch-name }}" == "${{ env.HEAD_REF }}" ]]; then echo "[O PASS]"; else echo "[X FAIL]" && exit 1; fi
echo -n "FACT: branch-name for update-packagejson3 should be empty. "
if [[ "${{ needs.update-packagejson3.outputs.branch-name }}" == "${{ github.head_ref }}" ]]; then echo "[O PASS]"; else echo "[X FAIL]" && exit 1; fi
if [[ "${{ needs.update-packagejson3.outputs.branch-name }}" == "${{ env.HEAD_REF }}" ]]; then echo "[O PASS]"; else echo "[X FAIL]" && exit 1; fi
env:
HEAD_REF: ${{ github.head_ref }}

cleanup:
if: ${{ needs.update-packagejson.outputs.is-branch-created == 'true' }}
needs: [update-packagejson]
needs: [update-packagejson, update-packagejson3]
uses: ./.github/workflows/clean-packagejson-branch.yaml
with:
branch: ${{ needs.update-packagejson.outputs.branch-name }}
Expand Down

0 comments on commit e9a724c

Please sign in to comment.