mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-04 05:42:53 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 312c00f77f |
@@ -29,12 +29,12 @@ repos:
|
|||||||
args: [-c, .markdownlint.json, --fix]
|
args: [-c, .markdownlint.json, --fix]
|
||||||
|
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.35.1
|
rev: v1.37.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
|
|
||||||
- repo: https://github.com/scop/pre-commit-shfmt
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
rev: v3.10.0-2
|
rev: v3.11.0-1
|
||||||
hooks:
|
hooks:
|
||||||
- id: shfmt
|
- id: shfmt
|
||||||
|
|
||||||
@@ -51,12 +51,12 @@ repos:
|
|||||||
args: ['-shellcheck=']
|
args: ['-shellcheck=']
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 39.156.0
|
rev: 39.227.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
- repo: https://github.com/bridgecrewio/checkov.git
|
- repo: https://github.com/bridgecrewio/checkov.git
|
||||||
rev: '3.2.360'
|
rev: '3.2.400'
|
||||||
hooks:
|
hooks:
|
||||||
- id: checkov
|
- id: checkov
|
||||||
args:
|
args:
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ runs:
|
|||||||
- name: MegaLinter
|
- name: MegaLinter
|
||||||
# You can override MegaLinter flavor used to have faster performances
|
# You can override MegaLinter flavor used to have faster performances
|
||||||
# More info at https://megalinter.io/latest/flavors/
|
# More info at https://megalinter.io/latest/flavors/
|
||||||
uses: oxsecurity/megalinter@146333030da68e2e58c6ff826633824fabe01eaf # v8.5.0
|
uses: oxsecurity/megalinter/flavors/cupcake@146333030da68e2e58c6ff826633824fabe01eaf # v8.5.0
|
||||||
id: ml
|
id: ml
|
||||||
|
|
||||||
# All available variables are described in documentation
|
# All available variables are described in documentation
|
||||||
|
|||||||
5
run.sh
5
run.sh
@@ -78,7 +78,8 @@ find . -mindepth 1 -maxdepth 1 -type d | while read -r dir; do
|
|||||||
echo "- ⏩ Skipping $dir - action.yml missing"
|
echo "- ⏩ Skipping $dir - action.yml missing"
|
||||||
fi
|
fi
|
||||||
) || {
|
) || {
|
||||||
echo "- ⚠️ Warning: Error processing directory $dir" | tee -a "$log_file"
|
echo "- ⚠️ Warning: Error processing directory $dir" |
|
||||||
|
tee -a "$log_file"
|
||||||
}
|
}
|
||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
@@ -106,7 +107,7 @@ fi
|
|||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "🔎 Running MegaLinter..."
|
echo "🔎 Running MegaLinter..."
|
||||||
if ! npx --yes mega-linter-runner; then
|
if ! npx --yes mega-linter-runner --flavor cupcake --fix --remove-container --container-name cupcake; then
|
||||||
echo "- ⚠️ Warning: MegaLinter found issues" | tee -a "$log_file"
|
echo "- ⚠️ Warning: MegaLinter found issues" | tee -a "$log_file"
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user