Skip to content

Commit

Permalink
[workflows] Only run code formatter on the main branch (llvm#80348)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
tstellar authored and llvmbot committed Feb 4, 2024
1 parent 900e7cb commit 705f5fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Check code formatting"
on: pull_request_target
branches:
- main

permissions:
pull-requests: write

Expand Down

0 comments on commit 705f5fb

Please sign in to comment.