Apply formatting bot fix (#806)
diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml
index 8257add..04786ba 100644
--- a/.github/workflows/formatting.yml
+++ b/.github/workflows/formatting.yml
@@ -13,9 +13,9 @@
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