Skip to content

Commit 12a0b31

Browse files
committed
Backport formats
1 parent 91d6e94 commit 12a0b31

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ indent_size = 4
1313
[package.json]
1414
indent_style = space
1515
indent_size = 2
16+
17+
[*.{yaml,yml}]
18+
end_of_line = lf
19+
indent_style = space
20+
indent_size = 2

.github/workflows/CD.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: CD
33
on:
44
workflow_dispatch:
55
workflow_run:
6-
workflows: [ "CI" ]
7-
branches: [ master ]
6+
workflows: ["CI"]
7+
branches: [master]
88
types:
99
- completed
1010

@@ -38,7 +38,6 @@ jobs:
3838
target: ${{ env.BOT_HOME_DIR }}
3939
overwrite: true
4040

41-
4241
- name: Deploy CSZ Bot
4342
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
4443
env:

.github/workflows/CI.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@ name: CI
22

33
on:
44
pull_request:
5-
branches: [ master ]
5+
branches: [master]
66
push:
7-
branches: [ master ]
7+
branches: [master]
88

99
env:
1010
DOCKER_BUILDKIT: "1"
1111

1212
jobs:
13-
1413
lint:
15-
1614
strategy:
1715
fail-fast: false
1816
matrix:
19-
platform: [ "ubuntu-slim", "windows-latest", "macos-latest" ]
17+
platform: ["ubuntu-slim", "windows-latest", "macos-latest"]
2018

2119
name: Lint
2220
runs-on: ${{ matrix.platform }}
@@ -91,7 +89,6 @@ jobs:
9189
9290
echo "first=$first" >> "$GITHUB_OUTPUT"
9391
94-
9592
- name: Build and export
9693
uses: docker/build-push-action@v6
9794
id: build
@@ -115,7 +112,7 @@ jobs:
115112

116113
if: ${{ !github.event.repository.fork }}
117114

118-
needs: [ build ]
115+
needs: [build]
119116

120117
concurrency: e2e
121118
environment:

0 commit comments

Comments
 (0)