You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address review feedback for auto-fix implementation
- Use GITHUB_ACTOR/GITHUB_ACTOR_ID for git commit author instead of hardcoded github-actions[bot]
- Add git update-index -q --refresh before checking for changes (prevents stat-dirty false positives)
- Use git diff-index instead of git diff for more reliable change detection
- Add PR branch checkout step before cpp-linter runs (fixes detached HEAD push problem)
- Use explicit push refspec HEAD:refs/heads/<branch> for reliable push targeting
- Fix ANSI escape syntax in warning output
Based on analysis of wearerequired/lint-action's proven approach.
0 commit comments