mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Update the formatting bot (#1095)
This commit is contained in:
parent
f1472b138f
commit
d73470e936
1 changed files with 16 additions and 4 deletions
20
.github/workflows/formatting.yml
vendored
20
.github/workflows/formatting.yml
vendored
|
|
@ -13,11 +13,23 @@ env:
|
|||
jobs:
|
||||
Formatting:
|
||||
name: Run Formatting Check
|
||||
if: ${{ github.event.issue.pull_request }} &&
|
||||
if: ${{ github.event.issue.pull_request &&
|
||||
( ( github.event.comment.body == '/bot run uncrustify' ) ||
|
||||
( github.event.comment.body == '/bot run formatting' ) )
|
||||
( github.event.comment.body == '/bot run formatting' ) ) }}
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Apply Formatting Fix
|
||||
- name: Apply Formatting Fix of Common Files
|
||||
id: check-formatting-of-common
|
||||
uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main
|
||||
id: check-formatting
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: FreeRTOS/Demo/Common
|
||||
exclude-dirs: ethernet, drivers
|
||||
|
||||
- name: Apply Formatting Fix
|
||||
id: check-formatting-of-rest
|
||||
uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main
|
||||
continue-on-error: true
|
||||
with:
|
||||
exclude-dirs: ethernet, drivers, FreeRTOS/Demo
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue