summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorIoannis Tzavaras <tzavaras.jannis@gmail.com>2026-03-28 21:16:59 +0200
committerGitHub <noreply@github.com>2026-03-28 19:16:59 +0000
commiteb10ecf738b0ed229125768f7b5953494d59cf9d (patch)
tree22d12ad03d4f88acb164d16a323d0c3fd567c6c5 /.github/workflows
parent6226f3b197bf9ef41ef580123c474fdd46ac6e87 (diff)
build: remove legacy clang-format workflow (#13887)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/clang-format.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml
deleted file mode 100644
index 505829e3..00000000
--- a/.github/workflows/clang-format.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: clang-format
-on: pull_request_target
-jobs:
- clang-format:
- permissions: write-all
- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
- name: "Code Style"
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: clang-format check
- uses: jidicula/clang-format-action@v4.16.0
- with:
- exclude-regex: ^subprojects$
-
- - name: Create comment
- 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).' > clang-format.patch
-
- - name: Post comment
- if: ${{ failure() && github.event_name == 'pull_request' }}
- uses: mshick/add-pr-comment@v2
- with:
- message-path: |
- clang-format.patch