Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 581c1d9

Browse files
committed
feat(gh): add default GitHub repo files
1 parent 636e53d commit 581c1d9

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

.checkov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
skip-check:
2-
# Base64 High Entropy String
3-
- CKV_SECRET_6
42
# 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
53
- CKV_GHA_7

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 2 deletions
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

Lines changed: 1 addition & 2 deletions
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/workflows/mega-linter.yml

Lines changed: 3 additions & 1 deletion
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
@@ -27,12 +28,13 @@ jobs:
2728
run: |
2829
set -euxo pipefail
2930
echo '#!/usr/bin/env bash' > README.sh
30-
find . -name '*.md' -print0 | while IFS= read -r -d '' FILE ; do
31+
find . -name '*.md' -print0 | while IFS= read -r -d '' FILE; do
3132
# Extract: ```bash ... ```
3233
sed -n "/^\`\`\`\(bash\|shell\)$/,/^\`\`\`$/p" "${FILE}" | sed '/^```*/d' >> README.sh
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

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ANSIBLE_ANSIBLE_LINT_PRE_COMMANDS:
66
cwd: "workspace"
77
ANSIBLE_ANSIBLE_LINT_CONFIG_FILE: ansible/.ansible-lint
88

9-
BASH_SHFMT_ARGUMENTS: --indent 2 --space-redirects
9+
BASH_SHFMT_ARGUMENTS: --case-indent --indent 2 --space-redirects
1010

1111
DISABLE_LINTERS:
1212
- MARKDOWN_MARKDOWN_LINK_CHECK # Using lychee instead
@@ -31,9 +31,7 @@ PRINT_ALPACA: false
3131
# Disable creating report directory
3232
REPORT_OUTPUT_FOLDER: none
3333

34-
# Issue: https://github.com/bridgecrewio/checkov/issues/3839
35-
# 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
36-
REPOSITORY_CHECKOV_ARGUMENTS: --skip-check CKV_GHA_7
34+
REPOSITORY_CHECKOV_ARGUMENTS: --quiet
3735

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

0 commit comments

Comments
 (0)