Skip to content

Commit 3dcdeae

Browse files
authored
Merge branch 'master' into MaxymVlasov-patch-1
2 parents 9ca6470 + e5f4170 commit 3dcdeae

37 files changed

+419
-301
lines changed

.codecov.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
---
2-
31
codecov:
42
notify:
53
after_n_builds: 21 # Number of test matrix+lint jobs uploading coverage
64
wait_for_ci: false
75

86
require_ci_to_pass: false
9-
10-
token: >- # notsecret # repo-scoped, upload-only, stability in fork PRs
7+
# notsecret # repo-scoped, upload-only, stability in fork PRs
8+
token: >-
119
7316089b-55fe-4646-b640-78d84b79d109
1210
1311
comment:
@@ -50,5 +48,3 @@ github_checks:
5048
# Annotations are deprecated in Codecov because they are misleading.
5149
# Ref: https://github.com/codecov/codecov-action/issues/1710
5250
annotations: false
53-
54-
...

.coderabbit.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
reviews:
3+
# Collapse main AI comment by default, as it takes too much space when
4+
# expanded. It also is needless for subsequent rounds of PR review, mostly
5+
# only for the first one
6+
collapse_walkthrough: true
7+
# Move AI-generated summary from PR description to main AI comment. It
8+
# hallucinates sometimes, especially with PRs that change code linting rules
9+
high_level_summary_in_walkthrough: true
10+
# Disable false-positive cross links to issues
11+
related_issues: false
12+
# Disable false-positive cross links to PRs
13+
related_prs: false
14+
# Disable useless Poem generation
15+
poem: false
16+
17+
auto_review:
18+
# Enable AI review for Draft PRs
19+
drafts: true

.github/.container-structure-test-config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
2-
31
schemaVersion: 2.0.0
42

53
commandTests:
@@ -137,7 +135,6 @@ commandTests:
137135

138136
fileExistenceTests:
139137
- name: terrascan init
140-
# yamllint disable-line rule:line-length
141138
path: >-
142139
/root/.terrascan/pkg/policies/opa/rego/github/github_repository/privateRepoEnabled.rego
143140
shouldExist: true

.github/.dive-ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
2-
31
rules:
42
# If the efficiency is measured below X%, mark as failed.
53
# Expressed as a ratio between 0-1.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @maxymvlasov @yermulnik
1+
* @maxymvlasov @yermulnik @antonbabenko

.github/CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* [Add code](#add-code)
1414
* [Finish with the documentation](#finish-with-the-documentation)
1515
* [Contributing to Python code](#contributing-to-python-code)
16+
* [Run tests in your fork](#run-tests-in-your-fork)
1617

1718
## Run and debug hooks locally
1819

@@ -182,3 +183,11 @@ You can use [this PR](https://github.com/antonbabenko/pre-commit-terraform/pull/
182183
```bash
183184
tox list
184185
```
186+
187+
## Run tests in your fork
188+
189+
Go to your fork's `Actions` tab and click the big green button.
190+
191+
![Enable workflows](/assets/contributing/enable_actions_in_fork.png)
192+
193+
Now you can verify that the tests pass before submitting your PR.

.github/FUNDING.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
---
2-
31
github: [antonbabenko]
42
custom: https://www.paypal.me/antonbabenko

.github/SECURITY.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Reporting a Vulnerability
2+
3+
If you believe you have discovered a potential security vulnerability in this project, please report it securely. **Do not create a public GitHub issue for any security concerns.**
4+
5+
## How to Report
6+
7+
Send an email with a detailed description of the vulnerability, including any evidence of the disclosure, the impact, and any timelines related to the issue to: [[email protected]](mailto:[email protected])
8+
9+
## Vulnerability Disclosure Process
10+
11+
- **Confidential Disclosure:** All vulnerability reports will be kept confidential until a fix is developed and verified.
12+
- **Assessment and Response:** We aim to acknowledge any valid report within 15 business days.
13+
- **Timelines:** After verification, we plan to have a coordinated disclosure within 60 days, though this may vary depending on the complexity of the fix.
14+
- **Communication:** We will work directly with the vulnerability reporter to clarify details, answer questions, and discuss potential mitigations.
15+
- **Updates:** We may provide periodic updates on the progress of the remediation of the reported vulnerability.
16+
17+
## Guidelines
18+
19+
- **Vulnerability Definition:** A vulnerability is any flaw or weakness in this project that can be exploited to compromise system security.
20+
- **Disclosure Expectations:** When you report a vulnerability, please include as much detail as possible to allow us to assess its validity and scope without exposing sensitive information publicly.
21+
22+
By following this process, you help us improve the security of our project while protecting users and maintainers. We appreciate your efforts to responsibly disclose vulnerabilities.

.github/renovate.json5

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
22
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3-
extends: ["local>SpotOnInc/renovate-config"],
3+
extends: [
4+
"local>SpotOnInc/renovate-config",
5+
// Automerge patch and minor upgrades if they pass tests. | https://docs.renovatebot.com/presets-default/#automergeminor
6+
":automergeMinor",
7+
// Require all status checks to pass before any automerging. | https://docs.renovatebot.com/presets-default/#automergerequireallstatuschecks
8+
":automergeRequireAllStatusChecks",
9+
// Automerge digest upgrades if they pass tests. | https://docs.renovatebot.com/presets-default/#automergedigest
10+
":automergeDigest",
11+
// Raise a PR first before any automerging. | https://docs.renovatebot.com/presets-default/#automergepr
12+
":automergePr",
13+
],
414
// To make happy 'Validate PR title' GHA
515
commitMessageLowerCase: "never",
616
// Disable auto-rebase on every commit to avoid reaching Github limits on macos runners

.github/workflows/build-image-test.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
2-
31
name: Build Dockerfile if changed and run smoke tests
42

53
on:
@@ -40,15 +38,14 @@ jobs:
4038

4139
- name: Get changed Docker related files
4240
id: changed-files-specific
43-
# yamllint disable-line rule:line-length
44-
uses: tj-actions/changed-files@d6e91a2266cdb9d62096cebf1e8546899c6aa18f # v45.0.6
41+
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
4542
with:
4643
files: |
47-
Dockerfile
4844
.dockerignore
49-
tools/entrypoint.sh
5045
.github/workflows/build-image-test.yaml
51-
tools/*.sh
46+
Dockerfile
47+
tools/entrypoint.sh
48+
tools/install/*.sh
5249
5350
- name: Set IMAGE environment variable
5451
if: steps.changed-files-specific.outputs.any_changed == 'true'
@@ -59,14 +56,12 @@ jobs:
5956
>> $GITHUB_ENV
6057
6158
- name: Set up Docker Buildx
62-
# yamllint disable-line rule:line-length
63-
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
59+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
6460
if: steps.changed-files-specific.outputs.any_changed == 'true'
6561

6662
- name: Build if Dockerfile changed
6763
if: steps.changed-files-specific.outputs.any_changed == 'true'
68-
# yamllint disable-line rule:line-length
69-
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
64+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
7065
with:
7166
context: .
7267
build-args: |
@@ -105,8 +100,7 @@ jobs:
105100
106101
- name: Dive - check image for waste files
107102
if: steps.changed-files-specific.outputs.any_changed == 'true'
108-
# yamllint disable-line rule:line-length
109-
uses: MaxymVlasov/dive-action@b6a02b38f0f309e8817199658eab090d4f0f93ce # v1.1.0
103+
uses: MaxymVlasov/dive-action@43dafd0015826beaca5110157c9262c5dc10672a # v1.4.0
110104
with:
111105
image: ${{ env.IMAGE }}
112106
config-file: ${{ github.workspace }}/.github/.dive-ci.yaml
@@ -118,8 +112,7 @@ jobs:
118112
if: >-
119113
steps.changed-files-specific.outputs.any_changed == 'true'
120114
&& matrix.os == 'ubuntu-latest'
121-
# yamllint disable-line rule:line-length
122-
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
115+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
123116
with:
124117
context: .
125118
build-args: |

0 commit comments

Comments
 (0)