Skip to content

Commit 886ba05

Browse files
authored
[CI] Respect disable-lint in pr-code-format workflow (#12231)
There is bug in this workflow, it fails if we have too many changed files. eg: https://github.com/intel/llvm/actions/runs/7291149287/job/19869497941?pr=12226 We also want it to respect the label.
1 parent f3137e9 commit 886ba05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
jobs:
77
code_formatter:
88
runs-on: ubuntu-latest
9-
if: github.repository == 'llvm/llvm-project' || github.repository == 'intel/llvm'
9+
if: (github.repository == 'llvm/llvm-project' || github.repository == 'intel/llvm') && !contains(github.event.pull_request.labels.*.name, 'disable-lint')
1010
steps:
1111
- name: Fetch LLVM sources
1212
uses: actions/checkout@v4

0 commit comments

Comments
 (0)