name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
uses: paiml/.github/.github/workflows/sovereign-ci.yml@main
with:
repo: ${{ github.event.repository.name }}
secrets: inherit
gate:
needs: [ci]
runs-on: ubuntu-latest
if: always()
steps:
- run: |
if [ "${{ needs.ci.result }}" != "success" ]; then
echo "CI failed"
exit 1
fi
echo "All checks passed"