Skip to content

Add GitHub Actions-focused implementation skill for workflow hardening (#366)#376

Merged
nicobistolfi merged 1 commit intomainfrom
vigilante/issue-366-add-a-github-actions-focused-vigilante-implementation-skill-for-workflow-hardening-pinned-actions-and-secret-safe-automation
Apr 2, 2026
Merged

Add GitHub Actions-focused implementation skill for workflow hardening (#366)#376
nicobistolfi merged 1 commit intomainfrom
vigilante/issue-366-add-a-github-actions-focused-vigilante-implementation-skill-for-workflow-hardening-pinned-actions-and-secret-safe-automation

Conversation

@nicobistolfi
Copy link
Copy Markdown
Collaborator

Summary

  • Add a dedicated vigilante-issue-implementation-on-github-actions skill for repositories with GitHub Actions workflows
  • Detect GitHub Actions surfaces via .github/workflows/*.yml or *.yaml files as a new github-actions tech stack
  • Attach GitHub Actions security guidance covering pinned actions, least-privilege permissions, OIDC, secret handling, injection prevention, and workflow linting
  • Skill selection prefers Go/monorepo skills when applicable; GitHub Actions skill activates for traditional repos with workflows but no more specific tech stack

Changes

  • internal/repo/repo.go: Add TechStackGitHubActions constant and detectGitHubActionsTechStack() function
  • internal/skill/skill.go: Register VigilanteIssueImplementationOnGitHubActions, add isGitHubActionsTarget(), update IssueImplementationSkill() selection
  • internal/skill/security.go: Add githubActionsSecurityGuidance() with 6 guidance sections
  • skillassets.go: Add new skill directory to //go:embed directive
  • skills/vigilante-issue-implementation-on-github-actions/: New SKILL.md and agents/openai.yaml
  • Tests: 5 repo classification tests + 7 skill selection/prompt tests covering detection, selection priority, guidance content, and negative cases

Test plan

  • go test ./internal/repo/ -race -count=1 — all passing (including 5 new GitHub Actions detection tests)
  • go test ./internal/skill/ -race -count=1 — all passing (including 7 new skill selection/prompt tests)
  • go test ./... -race -count=1 — full suite passes (22 packages)
  • go vet ./... — clean
  • gofmt -l . — clean

Closes #366

#366)

Add a dedicated implementation skill for repositories with GitHub Actions
workflows. The skill covers pinned actions, least-privilege permissions,
OIDC authentication, secret handling, injection prevention, and workflow
validation.

Changes:
- Add TechStackGitHubActions detection for .github/workflows/ in repo classification
- Create vigilante-issue-implementation-on-github-actions skill with SKILL.md and agents config
- Register skill constant, selection logic (traditional repos with Actions), and embed directive
- Add GitHub Actions security guidance (6 guidance sections) to prompt builder
- Add tests for detection, skill selection, prompt content, and negative cases
@nicobistolfi nicobistolfi merged commit cf78b3e into main Apr 2, 2026
1 check passed
@nicobistolfi nicobistolfi deleted the vigilante/issue-366-add-a-github-actions-focused-vigilante-implementation-skill-for-workflow-hardening-pinned-actions-and-secret-safe-automation branch April 2, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a GitHub Actions-focused Vigilante implementation skill for workflow hardening, pinned actions, and secret-safe automation

1 participant