Skip to content

Commit 82bf32e

Browse files
committed
Add Clang CI to target main branch
1 parent ec2e457 commit 82bf32e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/clang-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
push:
99
branches:
1010
- 'release/**'
11+
- 'main'
1112
paths:
1213
- 'clang/**'
1314
- '.github/workflows/clang-tests.yml'
@@ -16,6 +17,7 @@ on:
1617
pull_request:
1718
branches:
1819
- 'release/**'
20+
- 'main'
1921
paths:
2022
- 'clang/**'
2123
- '.github/workflows/clang-tests.yml'
@@ -30,7 +32,7 @@ concurrency:
3032

3133
jobs:
3234
check_clang:
33-
if: github.repository_owner == 'llvm'
35+
if: github.event_name == 'pull_request' && github.base_ref == 'main'
3436
name: Test clang,lldb,libclc
3537
uses: ./.github/workflows/llvm-project-tests.yml
3638
with:

0 commit comments

Comments
 (0)