summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-01-28 00:41:26 +0800
committerGitHub <noreply@github.com>2025-01-27 17:41:26 +0100
commitcb7ed4f62b195ab7d5f21fa393218170cfbb95c8 (patch)
tree5d791a9ad3b500de5c0547f2d65078c1c547666a /.github/workflows/ci.yaml
parent2a478c30cab89c8c608936ca966155da5b16728d (diff)
ci: clang-format fix (#9145)
* move * revert, comment via peter-evans/commit-comment@v3 * remove
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml24
1 files changed, 0 insertions, 24 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 34c45d6b..416ea93b 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -127,27 +127,3 @@ jobs:
- name: clang-format check
run: ninja -C build clang-format-check
-
- - name: clang-format apply
- if: ${{ failure() && github.event_name == 'pull_request' }}
- run: ninja -C build clang-format
-
- - name: Create patch
- if: ${{ failure() && github.event_name == 'pull_request' }}
- run: |
- echo 'Please fix the formatting issues by running [`clang-format`](https://wiki.hyprland.org/Contributing-and-Debugging/PR-Guidelines/#code-style), or directly apply this patch:' > clang-format.patch
- echo '<details>' >> clang-format.patch
- echo '<summary>clang-format.patch</summary>' >> clang-format.patch
- echo >> clang-format.patch
- echo '```diff' >> clang-format.patch
- git diff >> clang-format.patch
- echo '```' >> clang-format.patch
- echo >> clang-format.patch
- echo '</details>' >> clang-format.patch
-
- - name: Comment patch
- if: ${{ failure() && github.event_name == 'pull_request' }}
- uses: mshick/add-pr-comment@v2
- with:
- message-path: |
- clang-format.patch