How convisoappsec/github-sync-task works
This GitHub Action syncs an external scanner’s project to Conviso and exposes the associated Asset to later workflow steps. A workflow invokes the action entry point, which runs the orchestration logic: it reads inputs, resolves repository and branch defaults, calls the GraphQL mutation, and publishes outputs or reports failure. The branch resolver handles pull-request context and ref normalization. The README documents the integration and outputs; the graph’s source-level call relationships are limited to the excerpts shown.
Main entry points: main.ts Action orchestration · index.ts Action entry point · associateProject.ts Project association mutation · workflowContext.ts Repository and branch resolver
Components 8
Action runtime
- Action entry point
src/index.ts - Action orchestration
src/main.ts
Workflow context
- Repository and branch resolver
src/workflowContext.ts
Conviso integration
- Project association mutation
src/associateProject.ts
Other components
- GitHub workflow
- GitHub Actions runner
- Conviso GraphQL API
- Later workflow steps
Connections 7
- GitHub workflow → Action entry point: invokes action
README.md - Action entry point → Action orchestration: starts
src/index.ts - Action orchestration → GitHub Actions runner: reads inputs; sets outputs
src/main.ts - Action orchestration → Repository and branch resolver: resolves defaults
src/main.ts - Action orchestration → Project association mutation: calls
src/main.ts - Project association mutation → Conviso GraphQL API: posts mutation
src/associateProject.ts - Action orchestration → Later workflow steps: exposes Asset outputs
README.md