We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053d699 commit 3b1ca12Copy full SHA for 3b1ca12
.github/workflows/formatting.yml
@@ -0,0 +1,23 @@
1
+name: Format Pull Request Files
2
+
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
7
+env:
8
+ bashPass: \033[32;1mPASSED -
9
+ bashInfo: \033[33;1mINFO -
10
+ bashFail: \033[31;1mFAILED -
11
+ bashEnd: \033[0m
12
13
+jobs:
14
+ Formatting:
15
+ name: Run Formatting Check
16
+ if: ${{ github.event.issue.pull_request }} &&
17
+ ( ( github.event.comment.body == '/bot run uncrustify' ) ||
18
+ ( github.event.comment.body == '/bot run formatting' ) )
19
+ runs-on: ubuntu-20.04
20
+ steps:
21
+ - name: Apply Formatting Fix
22
+ uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@v2
23
+ id: check-formatting
0 commit comments