From a33779c14b3985943693be21b85698b85b99027b Mon Sep 17 00:00:00 2001 From: Alexey Stukalov Date: Thu, 5 Feb 2026 16:41:08 -0800 Subject: [PATCH] .gh/FormatCheck: run on pull_request Fixes the format checking, because when run in pull_request_target, it does not check out the correct commit --- .github/workflows/FormatCheck.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index d005ca942..5612cd8d3 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -1,8 +1,7 @@ name: Format suggestions on: - pull_request_target: - # this argument is not required if you don't use the `suggestion-label` input - types: [ opened, reopened, synchronize, labeled, unlabeled ] + push: # Runs on all pushes to any branch + pull_request: # Runs on all PR events (open, sync, reopen) jobs: code-style: runs-on: ubuntu-latest