Skip to content

Commit 9c0e503

Browse files
committed
[CI] Resolve yamllint concerns
1 parent 476b8c2 commit 9c0e503

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ on:
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
13-
cancel-in-progress: ${{ github.ref != 'refs/heads/master' && github.event_name != 'merge_group' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue') }} # yamllint disable-line
13+
cancel-in-progress: >-
14+
${{ github.ref != 'refs/heads/master' &&
15+
github.event_name != 'merge_group' &&
16+
!startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
1417
1518
jobs:
1619
clang-format:

.github/workflows/static-analysis-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ on: [pull_request]
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
7-
cancel-in-progress: ${{ github.ref != 'refs/heads/master' && github.event_name != 'merge_group' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue') }} # yamllint disable-line
7+
cancel-in-progress: >-
8+
${{ github.ref != 'refs/heads/master' &&
9+
github.event_name != 'merge_group' &&
10+
!startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
811
912
jobs:
1013
clang-tidy:

0 commit comments

Comments
 (0)