ntopng/.github
Riccardo Mori 2ecb162dfb
Add code formatter in the CI pipeline (#7372)
* Create formatter CI

This step in the CI pipeline is responsible for enforcing the coding style to the cpp code.

* Update formatter.yml

* Give writing permission to the code formatter action

* Add the workflow-dispatch event trigger

* Add first sketch of coding style

* Run build CI only after the formatter

* Disable include sorting on the formatter

* Fix formatter CI

* Fix code formatter in pull requests

* Fix code formatter CI

Commit the changes made by the formatter only when pushing to a remote branch. When dealing with pull requests the CI fails if the code is not properly formatted and does not commit the changes

* Remove formatter CI from PR

* Enable Build CI in PR
2023-04-07 16:19:57 +02:00
..
ISSUE_TEMPLATE Remove repetitive question 2022-07-20 09:16:43 +02:00
workflows Add code formatter in the CI pipeline (#7372) 2023-04-07 16:19:57 +02:00