Skip to content

Merge pull request #798 from hydra-billing/HOMS-519 #168

Merge pull request #798 from hydra-billing/HOMS-519

Merge pull request #798 from hydra-billing/HOMS-519 #168

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
run-homs-ci:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.HYDRA_BILLING_ROBOT_TOKEN }}
steps:
- name: run homs ci
run: gh workflow run ci.yml -R hydra-billing/homs-ci -f branch=${{ github.head_ref || github.ref_name }} -f run_id=${{ github.run_id }}
- name: wait for homs ci
run: |
while [ -z "${run_id}" ]; do
run_id=$(gh run list -w ci.yml -R hydra-billing/homs-ci --json name,databaseId --jq '.[] | select(.name? | match(" ${{ github.run_id }}$")) | .databaseId')
sleep 5
done
gh run watch -R hydra-billing/homs-ci ${run_id} --exit-status -i 60 >/dev/null