Skip to content

Commit

Permalink
[workflows] Only run code formatter on the main branch
Browse files Browse the repository at this point in the history
Further 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.
  • Loading branch information
tstellar committed Feb 1, 2024
1 parent 51e0d1b commit a818452
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 a818452

Please sign in to comment.