Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 9302a49

Browse files
committed
feat: add lint checks for configurations
1 parent c04f172 commit 9302a49

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Copyright 2023 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Configurations
16+
17+
concurrency:
18+
group: "configurations-${{ github.workflow }}-${{ github.ref }}"
19+
cancel-in-progress: true
20+
21+
on:
22+
pull_request:
23+
types: [opened,synchronize,reopened]
24+
paths:
25+
- 'applications/**/*.yaml'
26+
27+
28+
jobs:
29+
30+
yamllint:
31+
runs-on: ubuntu-latest
32+
permissions:
33+
contents: read
34+
35+
steps:
36+
- name: Checkout source code
37+
uses: actions/checkout@v3
38+
39+
- name: Check CLI script
40+
run: yamllint configurations/**/*.yaml configurations/**/*.yml

configurations/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)