Fix companion compatibility CI

This commit is contained in:
courtmanr@gmail.com
2026-07-29 19:46:13 +01:00
parent a53d45e2d3
commit 352c8cef7a
3 changed files with 28 additions and 1 deletions
@@ -47,10 +47,33 @@ jobs:
fetch-depth: 1
path: repos/pulse-enterprise
- name: Resolve pulse-mobile evidence ref
id: pulse-mobile-ref
shell: bash
env:
CANDIDATE_REF: ${{ github.head_ref }}
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
run: |
set -euo pipefail
resolved_ref="main"
if [ -n "${CANDIDATE_REF}" ]; then
matching_ref="$(gh api \
"repos/rcourtman/pulse-mobile/git/matching-refs/heads/${CANDIDATE_REF}" \
--jq '.[].ref' 2>/dev/null \
| grep --fixed-strings --line-regexp -- "refs/heads/${CANDIDATE_REF}" \
|| true)"
if [ -n "${matching_ref}" ]; then
resolved_ref="${CANDIDATE_REF}"
fi
fi
echo "ref=${resolved_ref}" >> "${GITHUB_OUTPUT}"
echo "Using pulse-mobile ref: ${resolved_ref}"
- name: Checkout pulse-mobile evidence repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: rcourtman/pulse-mobile
ref: ${{ steps.pulse-mobile-ref.outputs.ref }}
token: ${{ secrets.WORKFLOW_PAT }}
persist-credentials: false
fetch-depth: 1
@@ -14,6 +14,11 @@ jobs:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install boundary audit dependencies
run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends ripgrep
- name: Run Boundary Audit (report mode)
run: |
./scripts/audit-private-boundary.sh | tee repo-boundary-audit.txt
@@ -1,6 +1,5 @@
internal/api/access_admin_handlers.go
internal/api/activity_audit_handlers.go
internal/api/host_ledger.go
internal/api/identity_sso_handlers.go
internal/api/licensing_bridge.go
internal/api/licensing_handlers.go