mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
[GitHub] Run format job on stacked PRs (#102957)
Currently the formatter only runs for the main branch, which prevents the formatter from running for stacked PRs, which have to target user branches instead of main.
This commit is contained in:
1
.github/workflows/pr-code-format.yml
vendored
1
.github/workflows/pr-code-format.yml
vendored
@@ -7,6 +7,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- 'users/**'
|
||||
|
||||
jobs:
|
||||
code_formatter:
|
||||
|
||||
Reference in New Issue
Block a user