mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-01 01:40:24 -04:00
fix action (#141)
* fix action * Update clang-pr.yml --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,9 @@ name: clang-format Suggest
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
formatting-check:
|
||||
permissions: # needed in forks? https://github.com/parkerbxyz/suggest-changes/issues/33
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -14,4 +17,4 @@ jobs:
|
||||
python tools/format.py
|
||||
- uses: parkerbxyz/suggest-changes@v1
|
||||
with:
|
||||
comment: 'Please commit the suggested changes from clang-format.'
|
||||
comment: "Please commit the suggested changes from clang-format."
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
name: clang-format PR
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
jobs:
|
||||
formatting-check:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
Reference in New Issue
Block a user