wearerequired / lint-action

✨ GitHub Action for detecting and auto-fixing lint errors
MIT License
553 stars 130 forks source link

clang_format_auto_fix defaults to true or false? #782

Closed sethkaz closed 1 week ago

sethkaz commented 3 months ago

I'm implementing this action and using the clang_format linter. I tried implementing it with only:

      - name: Lint Action
        uses: wearerequired/lint-action@v2.3.0
        with:
          clang_format: true
          auto_fix: true

However, I found that the auto-fix wasn't happening. This seems counter to the README, which says that the [linter]_auto_fix defaults to true if the linter supports auto-fixing. (I verified this by adding the line: clang_format_auto_fix: true, and it worked.)

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.