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

Commit 3e9b0f6

Browse files
committed
feat(gh): add default GitHub repo files
1 parent bb712c4 commit 3e9b0f6

File tree

8 files changed

+29
-16
lines changed

8 files changed

+29
-16
lines changed

.checkov.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
skip-path:
2+
- files
3+
- terraform
4+
5+
skip-check:
6+
# The build output cannot be affected by user parameters other than the build entry point and the top-level source location. GitHub Actions workflow_dispatch inputs MUST be empty
7+
- CKV_GHA_7

.github/ISSUE_TEMPLATE/bug_report.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: 'Bug: This is a sample issue title'
4+
title: "Bug: This is a sample issue title"
55
labels: bug
66
assignees: ruzickap
7-
87
---
98

109
**Describe the bug**

.github/ISSUE_TEMPLATE/proposal.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Proposal
33
about: Suggest an idea for this project
4-
title: 'Proposal: This is a sample title'
4+
title: "Proposal: This is a sample title"
55
labels: proposal
66
assignees: ruzickap
7-
87
---
98

109
**Is your feature request related to a problem? Please describe**

.github/renovate.json5

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"git-submodules": {
1414
enabled: true,
1515
},
16+
ignorePaths: [
17+
// Ignore Terraform files
18+
"terraform/**",
19+
],
1620
labels: [
1721
"renovate",
1822
"renovate/{{replace '.*/' '' depName}}",

.github/workflows/mega-linter.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions: read-all
1212
jobs:
1313
mega-linter:
1414
runs-on: ubuntu-latest
15+
timeout-minutes: 30
1516
steps:
1617
- name: Checkout Code
1718
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -33,10 +34,11 @@ jobs:
3334
# Extract: ```bash ... ```
3435
sed -n "/^ \`\`\`\(bash\|shell\)$/,/^ \`\`\`$/p" "${FILE}" | sed '/^ ```*/d; s/^ //' >> README.sh
3536
done
37+
ls -la README.sh
3638
chmod a+x README.sh
3739
3840
- name: 💡 MegaLinter
39-
uses: oxsecurity/megalinter@688bc7466d7ab4faa83d614c2e6f9acf42b674dc # v7.8.0
41+
uses: oxsecurity/megalinter@190cd0dad6dc52b2de5b810e3b290c3d6bdcc0f2 # v7.9.0
4042
env:
4143
GITHUB_COMMENT_REPORTER: false
4244
GITHUB_STATUS_REPORTER: true

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: stale
33

44
on:
55
schedule:
6-
- cron: "30 1 * * *"
6+
- cron: "9 9 * * *"
77

88
permissions:
99
issues: write

.mega-linter.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration file for MegaLinter
22
# See all available variables at https://megalinter.io/latest/configuration/ and in linters documentation
33

4-
BASH_SHFMT_ARGUMENTS: --indent 2 --space-redirects
4+
BASH_SHFMT_ARGUMENTS: --case-indent --indent 2 --space-redirects
55

66
DISABLE_LINTERS:
77
- MARKDOWN_MARKDOWN_LINK_CHECK # Using lychee instead
@@ -26,9 +26,7 @@ PRINT_ALPACA: false
2626
# Disable creating report directory
2727
REPORT_OUTPUT_FOLDER: none
2828

29-
# Issue: https://github.com/bridgecrewio/checkov/issues/3839
30-
# The build output cannot be affected by user parameters other than the build entry point and the top-level source location. GitHub Actions workflow_dispatch inputs MUST be empty
31-
REPOSITORY_CHECKOV_ARGUMENTS: --skip-check CKV_GHA_7
29+
REPOSITORY_CHECKOV_ARGUMENTS: --quiet
3230

3331
# Do not leave debug code in production, Insecure URL
3432
REPOSITORY_DEVSKIM_ARGUMENTS: --ignore-globs CHANGELOG.md --ignore-rule-ids DS162092,DS137138

.trivyignore.yaml

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
vulnerabilities:
2-
# │ glob-parent │ CVE-2020-28469 │ HIGH │ fixed │ 3.1.0 │ 5.1.2 │ Regular expression denial of service │
2+
# │ glob-parent │ CVE-2020-28469 │ HIGH │ fixed │ 3.1.0 │ 5.1.2 │ Regular expression denial of service │
33
- id: CVE-2020-28469
4-
# │ json5 │ CVE-2022-46175 │ HIGH │ fixed │ 0.5.1 │ 2.2.2, 1.0.2 │ json5: Prototype Pollution in JSON5 via Parse Method │
4+
# │ json5 │ CVE-2022-46175 │ HIGH │ fixed │ 0.5.1 │ 2.2.2, 1.0.2 │ json5: Prototype Pollution in JSON5 via Parse Method │
55
- id: CVE-2022-46175
6-
# │ loader-utils │ CVE-2022-37601 │ CRITICAL │ fixed │ 0.2.17 │ 2.0.3, 1.4.1 │ loader-utils: prototype pollution in function parseQuery in │
6+
# │ loader-utils │ CVE-2022-37601 │ CRITICAL │ fixed │ 0.2.17 │ 2.0.3, 1.4.1 │ loader-utils: prototype pollution in function parseQuery in │
77
- id: CVE-2022-37601
8-
# │ node-forge │ CVE-2022-24771 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification leniency in checking │
8+
# │ node-forge │ CVE-2022-24771 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification leniency in checking │
99
- id: CVE-2022-24771
10-
# │ node-forge │ CVE-2022-24772 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification failing to check tailing │
10+
# │ node-forge │ CVE-2022-24772 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification failing to check tailing │
1111
- id: CVE-2022-24772
12-
# │ nth-check │ CVE-2021-3803 │ HIGH │ fixed │ 1.0.2 │ 2.0.1 │ inefficient regular expression complexity │
12+
# │ nth-check │ CVE-2021-3803 │ HIGH │ fixed │ 1.0.2 │ 2.0.1 │ inefficient regular expression complexity │
1313
- id: CVE-2021-3803
14+
# | ip │ CVE-2023-42282 │ HIGH │ affected │ 1.1.8 │ │ An issue in NPM IP Package v.1.1.8 and before allows an │
15+
- id: CVE-2023-42282
16+
# │ normalize-url │ CVE-2021-33502 │ HIGH │ fixed │ 4.5.0 │ 4.5.1, 5.3.1, 6.0.1 │ ReDoS for data URLs │
17+
- id: CVE-2021-33502

0 commit comments

Comments
 (0)