mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-05 11:57:15 -04:00
Compare commits
1 commit
6b813854f0
...
76d9acfac1
Author | SHA1 | Date | |
---|---|---|---|
|
76d9acfac1 |
26
.github/workflows/formatting.yml
vendored
Normal file
26
.github/workflows/formatting.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Format Pull Request Files
|
||||||
|
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
env:
|
||||||
|
bashPass: \033[32;1mPASSED -
|
||||||
|
bashInfo: \033[33;1mINFO -
|
||||||
|
bashFail: \033[31;1mFAILED -
|
||||||
|
bashEnd: \033[0m
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Formatting:
|
||||||
|
name: Run Formatting Check
|
||||||
|
if: ${{ github.event.issue.pull_request &&
|
||||||
|
( ( github.event.comment.body == '/bot run uncrustify' ) ||
|
||||||
|
( github.event.comment.body == '/bot run formatting' ) ) }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Apply Formatting Fix
|
||||||
|
id: check-formatting
|
||||||
|
uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main
|
||||||
|
with:
|
||||||
|
exclude-dirs: portable
|
||||||
|
|
Loading…
Reference in a new issue