mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 04:18:02 +02:00
build: remove legacy clang-format workflow (#13887)
This commit is contained in:
parent
6226f3b197
commit
eb10ecf738
1 changed files with 0 additions and 28 deletions
28
.github/workflows/clang-format.yml
vendored
28
.github/workflows/clang-format.yml
vendored
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue