Skip to content

feat: unify codex mcp and web session manager #14

feat: unify codex mcp and web session manager

feat: unify codex mcp and web session manager #14

Workflow file for this run

name: idalib-tests
on:
push:
pull_request_target:
jobs:
approval:
# Only gate fork PRs. Pushes run normally, and same-repo contributors use
# normal push CI instead of pull_request_target.
if: |
github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
environment: external-pr
steps:
- name: Approval granted
run: echo "Approved to run fork PR tests"
idalib-tests:
# Run on all pushes, and on fork PRs only after the approval job passes.
if: |
always() &&
(
github.event_name == 'push' ||
needs.approval.result == 'success'
)
needs: approval
runs-on: ubuntu-latest
strategy:
matrix:
ida-version: ['9.0', '9.1', '9.2', '9.3']
permissions:
contents: read
packages: read
container:
image: ghcr.io/mrexodia/ida-docker/ida:${{ matrix.ida-version }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}
- uses: astral-sh/setup-uv@v7
- name: Run tests
run: |
uv run ida-mcp-test tests/crackme03.elf -q
uv run ida-mcp-test tests/typed_fixture.elf -q