-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d00f00
commit f6bfd01
Showing
74 changed files
with
2,867 additions
and
2,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,3 +198,11 @@ difftool | |
apos | ||
hpdy | ||
tagname | ||
Aftertabs | ||
GKHF | ||
cyclonedx | ||
cpes | ||
UNINDEXED | ||
unindexed | ||
logrus | ||
JSONLINT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"Verbose": false, | ||
"Debug": false, | ||
"IgnoreDefaults": false, | ||
"SpacesAftertabs": false, | ||
"NoColor": false, | ||
"Exclude": [ | ||
"/testsData/" | ||
], | ||
"AllowedContentTypes": [], | ||
"PassedFiles": [], | ||
"Disable": { | ||
"EndOfLine": false, | ||
"Indentation": false, | ||
"IndentSize": false, | ||
"InsertFinalNewline": false, | ||
"TrimTrailingWhitespace": false, | ||
"MaxLineLength": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ on: # yamllint disable-line rule:truthy | |
- '**' | ||
workflow_dispatch: | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -55,17 +57,21 @@ jobs: | |
runPrecommitTests: false | ||
steps: | ||
- name: Checkout | ||
# kics-scan ignore-line | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
# kics-scan ignore-line | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to DockerHub | ||
# kics-scan ignore-line | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
# kics-scan ignore-line | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: build bash-tools-${{matrix.vendor}}-${{matrix.bashTarVersion}} | ||
|
@@ -74,6 +80,7 @@ jobs: | |
# only if pre-commit | ||
- name: Set up Python | ||
if: matrix.runPrecommitTests | ||
# kics-scan ignore-line | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
@@ -82,6 +89,7 @@ jobs: | |
if: matrix.runPrecommitTests | ||
run: pip install pre-commit | ||
|
||
# kics-scan ignore-line | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
if: matrix.runPrecommitTests | ||
with: | ||
|
@@ -95,6 +103,7 @@ jobs: | |
- name: Archive results | ||
if: matrix.runPrecommitTests && always() | ||
continue-on-error: true | ||
# kics-scan ignore-line | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linter-reports | ||
|
@@ -103,6 +112,7 @@ jobs: | |
- name: Create Pull Request | ||
if: matrix.runPrecommitTests && failure() | ||
# kics-scan ignore-line | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
branch: update/pre-commit-fixes | ||
|
@@ -112,6 +122,7 @@ jobs: | |
some auto fixes have been generated during pre-commit run | ||
labels: updates | ||
|
||
# kics-scan ignore-line | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
if: matrix.runPrecommitTests && always() | ||
with: | ||
|
@@ -139,11 +150,13 @@ jobs: | |
- name: Upload Test Results | ||
if: always() | ||
# kics-scan ignore-line | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Test Results ${{matrix.vendor}} ${{matrix.bashTarVersion}} | ||
path: logs/report.xml | ||
|
||
# kics-scan ignore-line | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
if: always() | ||
with: | ||
|
@@ -165,19 +178,23 @@ jobs: | |
pull-requests: write | ||
steps: | ||
- name: Download Artifacts | ||
# kics-scan ignore-line | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: artifacts | ||
|
||
- name: Checkstyle aggregation | ||
# kics-scan ignore-line | ||
uses: lcollins/[email protected] | ||
with: | ||
path: 'artifacts/**/*.xml' | ||
|
||
# run this action to get the workflow conclusion | ||
# You can get the conclusion via env (env.WORKFLOW_CONCLUSION) | ||
# kics-scan ignore-line | ||
- uses: technote-space/workflow-conclusion-action@v3 | ||
|
||
# kics-scan ignore-line | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
title = "gitleaks config" | ||
|
||
[extend] | ||
# useDefault will extend the base configuration with the default gitleaks config: | ||
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml | ||
useDefault = true | ||
|
||
[allowlist] | ||
description = "Allowlisted files" | ||
paths = [ | ||
'''.automation/test''', | ||
'''megalinter-reports''', | ||
'''.github/linters''', | ||
'''(.*?)/testsData/''', | ||
'''(.*?)tests/data/''', | ||
'''(.*?)tests/tools/data/''', | ||
'''(.*?)gitleaks\.toml$''', | ||
'''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''' | ||
] |
Oops, something went wrong.