Add actionlint pre-commit hook for workflow validation #49

Merged
eblume merged 1 commit from fix/workflow-schema-validation into main 2026-01-23 17:56:25 -08:00
Owner

Summary

  • Fix workflow to use github.* context variables (Forgejo schema validator only recognizes GitHub Actions syntax, not gitea.* aliases)
  • Pass untrusted inputs through environment variables (security best practice per actionlint)
  • Add actionlint to Brewfile and pre-commit config to catch workflow validation errors locally

Deployment and Testing

  • Pre-commit hooks all pass
  • actionlint validates .forgejo/workflows/test.yaml successfully
  • Verify workflow runs without errors on Forge after merge

🤖 Generated with Claude Code

## Summary - Fix workflow to use `github.*` context variables (Forgejo schema validator only recognizes GitHub Actions syntax, not `gitea.*` aliases) - Pass untrusted inputs through environment variables (security best practice per actionlint) - Add actionlint to Brewfile and pre-commit config to catch workflow validation errors locally ## Deployment and Testing - [x] Pre-commit hooks all pass - [x] actionlint validates `.forgejo/workflows/test.yaml` successfully - [ ] Verify workflow runs without errors on Forge after merge 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Add actionlint pre-commit hook for workflow validation
All checks were successful
Test CI / test (pull_request) Successful in 0s
9dedea1400
- Fix workflow to use github.* context vars (Forgejo schema validator
  only recognizes GitHub Actions syntax, not gitea.* aliases)
- Pass untrusted inputs through env vars (security best practice)
- Add actionlint to Brewfile and pre-commit config

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
eblume merged commit 3bcad4189f into main 2026-01-23 17:56:25 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eblume/blumeops!49
No description provided.