Skip to content

Commit 585ceec

Browse files
committed
[workflows] Only run code formatter on the main branch (llvm#80348)
Modifying a cherry-picked patch to fix code formatting issues can be risky, so we don't typically do this. Therefore, it's not necessary to run this job on the release branches. (cherry picked from commit 2193c95)
1 parent c02728b commit 585ceec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pr-code-format.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: "Check code formatting"
22
on: pull_request_target
3+
branches:
4+
- main
5+
36
permissions:
47
pull-requests: write
58

0 commit comments

Comments
 (0)