Skip to content

Commit 0557ba8

Browse files
authored
Merge pull request #208 from Netcracker/release
chore: release 1.9.0
2 parents c7ebcac + d1b2d01 commit 0557ba8

24 files changed

+467
-111
lines changed

.github/pr-assigner-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
assignees:
2+
- alagishev
3+
- viacheslav-lunev
4+
count: 2

.github/super-linter.env

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# File will be loaded as environment variables
2+
# It must contain strings like:
3+
# name=value
4+
5+
GITLEAKS_LOG_LEVEL=warn
6+
VALIDATE_JAVASCRIPT_PRETTIER=false
7+
VALIDATE_JAVASCRIPT_STANDARD=false
8+
VALIDATE_JSCPD=false
9+
VALIDATE_JSON_PRETTIER=false
10+
VALIDATE_KUBERNETES_KUBECONFORM=false
11+
VALIDATE_MARKDOWN_PRETTIER=false
12+
VALIDATE_YAML_PRETTIER=false
13+
14+
# TODO: fix python files and enable the check again
15+
VALIDATE_PYTHON_BLACK=false
16+
VALIDATE_PYTHON_FLAKE8=false
17+
VALIDATE_PYTHON_ISORT=false
18+
VALIDATE_PYTHON_MYPY=false
19+
VALIDATE_PYTHON_PYINK=false
20+
VALIDATE_PYTHON_PYLINT=false
21+
22+
# APIHUB CUSTOM
23+
24+
# Go linter has a bug and doesn't work fine
25+
VALIDATE_GO=false
26+
VALIDATE_GO_MODULES=false
27+
28+
# Another tool used in APIHUB for typescript linting
29+
VALIDATE_CSS_PRETTIER=false
30+
VALIDATE_HTML_PRETTIER=false
31+
VALIDATE_JAVASCRIPT_ES=false
32+
VALIDATE_TYPESCRIPT_ES=false
33+
VALIDATE_TYPESCRIPT_PRETTIER=false
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
3+
# The workflow template for automatic PR labeler.
4+
# It requires to have a configuration file with labels and conditions to apply them.
5+
# The configuration file should be placed in the .github folder and named auto-labeler-config.yaml.
6+
# Example file can be found there:
7+
# https://github.com/Netcracker/.github/blob/main/config/examples/auto-labeler-config.yaml
8+
9+
name: Automatic PR Labeler
10+
11+
on:
12+
pull_request:
13+
branches: [develop]
14+
types:
15+
[opened, reopened, synchronize]
16+
17+
permissions:
18+
pull-requests: write
19+
contents: read
20+
issues: write
21+
22+
jobs:
23+
assign-labels:
24+
if: (github.event.pull_request.merged == false) && (github.event.pull_request.user.login != 'dependabot[bot]') && (github.event.pull_request.user.login != 'github-actions[bot]')
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: "Execute assign labels"
30+
id: action-assign-labels
31+
uses: mauroalderete/action-assign-labels@v1
32+
with:
33+
pull-request-number: ${{ github.event.pull_request.number }}
34+
github-token: ${{ github.token }}
35+
conventional-commits: "./.github/auto-labeler-config.yaml"
36+
maintain-labels-not-matched: true
37+
apply-changes: ${{ github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id }}
38+
- name: "Drop warning if PR from fork"
39+
if: ${{ github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id }}
40+
run: |
41+
{
42+
echo "⚠️ Pull request from fork! ⚠️";
43+
echo "Labels will not be applied to PR. Assign them manually please.";
44+
echo "Labels to assign: ${{ steps.action-assign-labels.outputs.labels-next }}";
45+
} >> "$GITHUB_STEP_SUMMARY"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
3+
# This workflow will check the licenses of the go modules in the repository
4+
# The workflow needs configuration in the .wwhrd.yml file in the root of repository.
5+
# The example file can be found there:
6+
# https://github.com/netcracker/qubership-workflow-hub/blob/main/docs/examples/.wwhrd.yml
7+
# It will fail if any of the modules have a license that is not allowed
8+
# It will also fail if any of the modules do not have a license
9+
# It will pass if all modules have a license that is allowed
10+
11+
name: Check Go Modules Licenses
12+
on:
13+
push: {}
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
check-license:
20+
uses: netcracker/qubership-workflow-hub/.github/workflows/go-check-license.yaml@v1.0.5

.github/workflows/link-checker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Link Checker
2+
name: MD Link Checker
33

44
on:
55
push: null

.github/workflows/pr-assigner.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Assign PR
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
permissions:
8+
pull-requests: write
9+
contents: read
10+
11+
jobs:
12+
assign:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v4
17+
18+
- name: PR Auto-Assignment
19+
uses: netcracker/qubership-workflow-hub/actions/pr-assigner@main
20+
with:
21+
configuration-path: ".github/pr-assigner-config.yml"
22+
shuffle: 2
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
3+
name: Conventional Commits PR Check
4+
5+
on:
6+
pull_request:
7+
types:
8+
- opened
9+
- edited
10+
- synchronize
11+
12+
permissions:
13+
pull-requests: read
14+
jobs:
15+
build:
16+
name: Conventional Commits
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: webiny/action-conventional-commits@v1.3.0

.github/workflows/profanity-filter.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ docs/local_development/jwt_private_key
2020
*.bak
2121
*.orig
2222
*.exe
23-
*.env
2423
env
2524
jwt_private_key
2625

2726
*.bak
2827
*.patch
2928

30-
.DS_Store
29+
.DS_Store

.lycheeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
^.*example.com
2+
^.*xmlsoap.org

0 commit comments

Comments
 (0)