mandiant / mandiant/capa-rules

Auto format / rename on rule PRs

Open
#517 0 comments 0 reactions 0 assignees View on GitHub
CI
Dominant language
No language data
Stars
736
Forks
245
Avg merge
4d 53m
Merged PRs (30d)
2

Description

Can we leverage CI to auto apply `capafmt.py` and rename files for example?

It can be cumbersome to keep track of all the necessary changes manually, see e.g. #515

refs:
- https://github.com/stefanzweifel/git-auto-commit-action
- https://michaelheap.com/git-auto-commit/
- https://driesvints.com/blog/code-style-formatting-with-github-actions
- https://peterevans.dev/posts/github-actions-how-to-automate-code-formatting-in-pull-requests/

Contributor guide

Open the contributing guide

Research direction

Start by reading capafmt.py and reviewing the changes referenced in #515. Compare the linked GitHub Actions automation examples, then define how rule pull requests should run formatting and file renaming, including what committed changes indicate that the workflow is done.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.