Skip to content

Commit 0615fc5

Browse files
authored
Merge branch 'main' into issues/688
2 parents 578982d + 0674286 commit 0615fc5

26 files changed

+257
-107
lines changed

.github/workflows/backend_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
build:
22+
build-and-test:
2323
uses: ./.github/workflows/backend_tests.yml
2424
with:
2525
event_name: ${{ github.event_name }}

.github/workflows/backend_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
cancel-in-progress: true
2121

2222
jobs:
23-
build:
23+
build-and-test:
2424
uses: ./.github/workflows/backend_tests.yml
2525
with:
2626
event_name: ${{ github.event_name }}

.github/workflows/cve_checks.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
build-and-test:
12+
13+
check-cves:
1314
runs-on: ubuntu-latest
1415

1516
steps:
@@ -62,8 +63,17 @@ jobs:
6263
cache-to: type=local,dest=/tmp/.buildx-cache
6364

6465
- name: Run CVE checks
65-
uses: aquasecurity/trivy-action@0.19.0
66+
uses: aquasecurity/trivy-action@0.29.0
6667
with:
6768
image-ref: "ghcr.io/kafbat/kafka-ui:${{ steps.build.outputs.version }}"
6869
format: "table"
6970
exit-code: "1"
71+
72+
notify:
73+
needs: check-cves
74+
if: ${{ always() && needs.build-and-test.result == 'failure' }}
75+
uses: ./.github/workflows/infra_discord_hook.yml
76+
with:
77+
message: "Attention! CVE checks run failed! Please fix them CVEs :("
78+
secrets:
79+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL_CVE }}

.github/workflows/frontend_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
build:
18+
build-and-test:
1919
uses: ./.github/workflows/frontend_tests.yml

.github/workflows/frontend_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
jobs:
19-
build:
19+
build-and-test:
2020
uses: ./.github/workflows/frontend_tests.yml
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Discord hook'
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
message:
7+
description: 'Message text'
8+
required: true
9+
type: string
10+
secrets:
11+
DISCORD_WEBHOOK_URL:
12+
required: true
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
19+
hook:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Notify Discord on Failure
23+
uses: Ilshidur/[email protected]
24+
with:
25+
args: ${{ inputs.message }}
26+
env:
27+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}

.github/workflows/md-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
build-and-test:
16+
lint-md:
1717
runs-on: ubuntu-latest
1818

1919
steps:

.github/workflows/pr_linter.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ on:
55
permissions:
66
checks: write
77
jobs:
8-
task-check:
8+
check-tasks:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: kentaro-m/[email protected]
1212
with:
1313
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1414
- uses: dekinderfiets/[email protected]
15-
if: false # TODO remove when public
1615
with:
1716
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/workflow_linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
build-and-test:
12+
lint-workflows:
1313
runs-on: ubuntu-latest
1414

1515
steps:

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2020 CloudHut
190+
Copyright 2025 Kafbat
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.
@@ -199,4 +199,4 @@
199199
distributed under the License is distributed on an "AS IS" BASIS,
200200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201201
See the License for the specific language governing permissions and
202-
limitations under the License.
202+
limitations under the License.

0 commit comments

Comments
 (0)