mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
* 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
7 lines
82 B
YAML
7 lines
82 B
YAML
---
|
|
BasedOnStyle: Google
|
|
---
|
|
Language: Cpp
|
|
IndentWidth: 2
|
|
SortIncludes: Never
|
|
---
|