RepoPilot

nektos / act

Search nektos/act

GitHub

Code

How nektos/act is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add support for a new action type

  • Add type constant and factory case to pkg/runner/action.go
  • Create action_<type>.go implementing the execution logic
  • Add test coverage in pkg/runner/action_test.go

Add a new GitHub expression function

  • Register function name in pkg/exprparser/functions.go register map
  • Implement function logic and add test case
  • Verify integration in pkg/exprparser/interpreter_test.go

Add Docker container configuration option

  • Add option field to container type in pkg/container/container_types.go
  • Apply option in pkg/container/docker_run.go RunContainer or docker_build.go
  • Add test case in pkg/container/docker_run_test.go

Add workflow context variable or function

  • Define field in context struct in pkg/model/github_context.go or pkg/model/job_context.go
  • Populate value in pkg/common/context.go NewContext setup
  • Add test coverage in pkg/model/github_context_test.go

Change the public API

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points52 per file on average
  • Code issues0 errors, 36 warnings
  • Largest file1,178 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions5 workflows
  • Tests49 test filesGo test · 0.03 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: pkg/runner · pkg/container · pkg/common

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.