Skip to content

Commit 1737cb6

Browse files
committed
ci: update workflows
1 parent f526fe5 commit 1737cb6

File tree

7 files changed

+39
-352
lines changed

7 files changed

+39
-352
lines changed

.github/linters/.checkov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
quiet: true
66
skip-check:
77
- CKV_DOCKER_2
8+
- CKV_DOCKER_8
89
- CKV_GHA_3
910
- BC_DKR_3
1011
- CKV_GIT_1

.github/linters/.markdown-lint.yml

+22-152
Original file line numberDiff line numberDiff line change
@@ -2,155 +2,25 @@
22
# Note: this file originates in template-template #
33
# ----------------------------------------------- #
44

5-
# Heading levels should only increment by one level at a time
6-
MD001: false
7-
8-
# Heading style
9-
MD003:
10-
style: atx
11-
12-
# Unordered list style
13-
MD004:
14-
style: dash
15-
16-
# Inconsistent indentation for list items at the same level
17-
MD005: true
18-
19-
# Unordered list indentation
20-
MD007:
21-
indent: 2
22-
start_indented: false
23-
24-
# Trailing spaces
25-
MD009:
26-
br_spaces: 2
27-
list_item_empty_lines: false
28-
strict: false
29-
30-
# Hard tabs
31-
MD010:
32-
code_blocks: false
33-
34-
# Reversed link syntax
35-
MD011: true
36-
37-
# Multiple consecutive blank lines
38-
MD012:
39-
maximum: 1
40-
41-
# Line length
42-
MD013:
43-
line_length: 360
44-
strict: true
45-
stern: true
46-
47-
# Dollar signs used before commands without showing output
48-
MD014: false
49-
50-
# No space after hash on atx style heading
51-
MD018: true
52-
53-
# Multiple spaces after hash on atx style heading
54-
MD019: true
55-
56-
# No space inside hashes on closed atx style heading
57-
MD020: true
58-
59-
# Multiple spaces inside hashes on closed atx style heading
60-
MD021: true
61-
62-
# Headings should be surrounded by blank lines
63-
MD022:
64-
lines_above: 1
65-
lines_below: 1
66-
67-
# Headings must start at the beginning of the line
68-
MD023: true
69-
70-
# Multiple headings with the same content
71-
MD024:
72-
allow_different_nesting: true
73-
74-
# Multiple top level headings in the same document
75-
MD025: true
76-
77-
# Trailing punctuation in heading
78-
MD026:
79-
punctuation: ".,;:!?。,;:!?"
80-
81-
# Multiple spaces after blockquote symbol
82-
MD027: true
83-
84-
# Blank line inside blockquote
85-
MD028: true
86-
87-
# Ordered list item prefix
88-
MD029:
89-
style: one_or_ordered
90-
91-
# Spaces after list markers
92-
MD030:
93-
ul_single: 1
94-
ol_single: 1
95-
ul_multi: 1
96-
ol_multi: 1
97-
98-
# Fenced code blocks should be surrounded by blank lines
99-
MD031:
100-
list_items: true
101-
102-
# Lists should be surrounded by blank lines
103-
MD032: true
104-
105-
# inline HTML
106-
MD033:
107-
allowed_elements: [details, summary]
108-
109-
# Bare URL used
110-
MD034: true
111-
112-
# Horizontal rule style
113-
MD035:
114-
style: "----"
115-
116-
# Emphasis used instead of a heading
117-
MD036:
118-
punctuation: ".,;:!?。,;:!?"
119-
120-
# Spaces inside emphasis markers
121-
MD037: true
122-
123-
# Spaces inside code span elements
124-
MD038: true
125-
126-
# Spaces inside link text
127-
MD039: true
128-
129-
# Fenced code blocks should have a language specified
130-
MD040: true
131-
132-
# First line in file should be a top level heading
133-
MD041: false
134-
135-
# No empty links
136-
MD042: true
137-
138-
# Required heading structure
139-
MD043: false
140-
141-
# Proper names should have the correct capitalization
142-
MD044: false
143-
144-
# Images should have alternate text (alt text)
145-
MD045: false
146-
147-
# Code block style
148-
MD046:
149-
style: fenced
150-
151-
# Files should end with a single newline character
152-
MD047: true
153-
154-
# Code fence style
155-
MD048:
156-
style: backtick
5+
DISABLE:
6+
- COPYPASTE
7+
8+
DISABLE_LINTERS:
9+
- REPOSITORY_TRIVY
10+
- SPELL_CSPELL
11+
- JSON_PRETTIER
12+
- YAML_PRETTIER
13+
- JAVASCRIPT_PRETTIER
14+
- REPOSITORY_DEVSKIM # temporarily disabled
15+
16+
LOG_LEVEL: INFO
17+
PRINT_ALPACA: false
18+
CONFIG_REPORTER: false
19+
SHOW_ELAPSED_TIME: true
20+
FLAVOR_SUGGESTIONS: false
21+
VALIDATE_ALL_CODEBASE: false
22+
IGNORE_GENERATED_FILES: true
23+
FILTER_REGEX_EXCLUDE: (dist/*|README.md|test/fixtures/*|vendor/*|/schemas/*|coverage/*|.nyc_output/*)
24+
25+
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdown-lint.yml
26+
REPOSITORY_CHECKOV_ARGUMENTS: [--skip-path, schemas]

.github/linters/.mega-linter.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ DISABLE_LINTERS:
1111
- JSON_PRETTIER
1212
- YAML_PRETTIER
1313
- JAVASCRIPT_PRETTIER
14+
- REPOSITORY_DEVSKIM # temporarily disabled
1415

1516
LOG_LEVEL: INFO
1617
PRINT_ALPACA: false
@@ -19,7 +20,7 @@ SHOW_ELAPSED_TIME: true
1920
FLAVOR_SUGGESTIONS: false
2021
VALIDATE_ALL_CODEBASE: false
2122
IGNORE_GENERATED_FILES: true
22-
FILTER_REGEX_EXCLUDE: (dist/*|README.md|test/fixtures/*|vendor/*|/schemas/*)
23+
FILTER_REGEX_EXCLUDE: (dist/*|README.md|test/fixtures/*|vendor/*|/schemas/*|coverage/*|.nyc_output/*)
2324

2425
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdown-lint.yml
2526
REPOSITORY_CHECKOV_ARGUMENTS: [--skip-path, schemas]

.github/workflows/pull_request_target.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ permissions: read-all
1010

1111
jobs:
1212
main:
13-
uses: ahmadnassri/actions/.github/workflows/pull-request-target-template.yml@master
14-
secrets:
15-
github-token: ${{ secrets.GH_TOKEN }}
13+
uses: ahmadnassri/actions/.github/workflows/pull-request-target.yml@master
14+
secrets: inherit
1615
permissions:
1716
contents: write
1817
pull-requests: write

0 commit comments

Comments
 (0)