diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml index 5223089ee8a93..c8fd541fd34db 100644 --- a/.github/workflows/pr-code-format.yml +++ b/.github/workflows/pr-code-format.yml @@ -1,5 +1,8 @@ name: "Check code formatting" on: pull_request_target + branches: + - main + permissions: pull-requests: write