mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-13 00:34:43 +00:00
Fix companion compatibility CI
This commit is contained in:
parent
a53d45e2d3
commit
352c8cef7a
3 changed files with 28 additions and 1 deletions
23
.github/workflows/canonical-governance.yml
vendored
23
.github/workflows/canonical-governance.yml
vendored
|
|
@ -47,10 +47,33 @@ jobs:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
path: repos/pulse-enterprise
|
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
|
- name: Checkout pulse-mobile evidence repo
|
||||||
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||||
with:
|
with:
|
||||||
repository: rcourtman/pulse-mobile
|
repository: rcourtman/pulse-mobile
|
||||||
|
ref: ${{ steps.pulse-mobile-ref.outputs.ref }}
|
||||||
token: ${{ secrets.WORKFLOW_PAT }}
|
token: ${{ secrets.WORKFLOW_PAT }}
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
|
||||||
5
.github/workflows/repo-boundary-audit.yml
vendored
5
.github/workflows/repo-boundary-audit.yml
vendored
|
|
@ -14,6 +14,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
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)
|
- name: Run Boundary Audit (report mode)
|
||||||
run: |
|
run: |
|
||||||
./scripts/audit-private-boundary.sh | tee repo-boundary-audit.txt
|
./scripts/audit-private-boundary.sh | tee repo-boundary-audit.txt
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
internal/api/access_admin_handlers.go
|
internal/api/access_admin_handlers.go
|
||||||
internal/api/activity_audit_handlers.go
|
internal/api/activity_audit_handlers.go
|
||||||
internal/api/host_ledger.go
|
|
||||||
internal/api/identity_sso_handlers.go
|
internal/api/identity_sso_handlers.go
|
||||||
internal/api/licensing_bridge.go
|
internal/api/licensing_bridge.go
|
||||||
internal/api/licensing_handlers.go
|
internal/api/licensing_handlers.go
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue