chore(deps): major update actions/checkout action to v7.0.0#254
Merged
Conversation
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ BASH | shellcheck | 7 | 0 | 0 | 0.33s | |
| shfmt | 7 | 2 | 0 | 0.01s | ||
| ✅ COPYPASTE | jscpd | yes | no | no | 1.32s | |
| ✅ DOCKERFILE | hadolint | 2 | 0 | 0 | 0.06s | |
| ✅ JSON | jsonlint | 5 | 0 | 0 | 0.12s | |
| ✅ JSON | prettier | 5 | 0 | 0 | 1.13s | |
| ✅ JSON | v8r | 5 | 0 | 0 | 3.09s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | no | 48.26s | |
| osv-scanner | yes | 1 | no | 0.16s | ||
| ✅ REPOSITORY | syft | yes | no | no | 2.21s | |
| ✅ REPOSITORY | trivy | yes | no | no | 11.56s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.15s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.57s | |
| prettier | 19 | 1 | 4 | 0.74s | ||
| ✅ YAML | v8r | 19 | 0 | 0 | 6.04s | |
| yamllint | 19 | 8 | 0 | 0.74s |
Detailed Issues
⚠️ REPOSITORY / osv-scanner - 1 error
Scanning dir .
Starting filesystem walk for root: /
End status: 120 dirs visited, 301 inodes visited, 0 Extract calls, 9.08693ms elapsed, 9.08722ms wall time
No package sources found, --help for usage information.
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/workflows/e2e.yaml
[warn] config/redpanda-admin.yaml
[warn] config/redpanda-cluster.yaml
[warn] Code style issues found in 3 files. Run Prettier with --write to fix.
⚠️ BASH / shfmt - 2 errors
diff config/keycloak/keycloak_custom_role_creation.sh.orig config/keycloak/keycloak_custom_role_creation.sh
--- config/keycloak/keycloak_custom_role_creation.sh.orig
+++ config/keycloak/keycloak_custom_role_creation.sh
@@ -13,7 +13,7 @@
# Build the roles_definition_substitution string for $(env:DEMO_ROLES_DEFINITION)
roles_definition_substitution=""
for role in "${roles_array[@]}"; do
- roles_definition_substitution+="{\"name\":\"$role\"},"
+ roles_definition_substitution+="{\"name\":\"$role\"},"
done
# Remove the trailing comma
roles_definition_substitution="${roles_definition_substitution%,}"
@@ -21,7 +21,7 @@
# Build the client_roles_substitution string for $(env:DEMO_CLIENT_ROLES) using a loop
client_roles_substitution="["
for role in "${roles_array[@]}"; do
- client_roles_substitution+="\"$role\","
+ client_roles_substitution+="\"$role\","
done
# Remove the trailing comma
client_roles_substitution="${client_roles_substitution%,}"
@@ -29,7 +29,7 @@
# Perform substitutions and save to output file
sed -e "s/\$(env:DEMO_ROLES_DEFINITION)/$roles_definition_substitution/g" \
- -e "s/\$(env:DEMO_CLIENT_NAME)/$DEMO_CLIENT_NAME/g" \
- -e "s/\$(env:DEMO_CLIENT_SECRET)/$DEMO_CLIENT_SECRET/g" \
- -e "s/\$(env:DEMO_CLIENT_ROLES)/$client_roles_substitution/g" \
- "$input_file" > "$output_file"
\ No newline at end of file
+ -e "s/\$(env:DEMO_CLIENT_NAME)/$DEMO_CLIENT_NAME/g" \
+ -e "s/\$(env:DEMO_CLIENT_SECRET)/$DEMO_CLIENT_SECRET/g" \
+ -e "s/\$(env:DEMO_CLIENT_ROLES)/$client_roles_substitution/g" \
+ "$input_file" >"$output_file"
diff tests/postgres.sh.orig tests/postgres.sh
--- tests/postgres.sh.orig
+++ tests/postgres.sh
@@ -41,8 +41,10 @@
# Expect AuthenticationSASL: 'R' + len + auth_type=10 + mechanisms.
# Use `dd` rather than `head` because busybox head buffers socket reads.
kind=$(dd bs=1 count=1 <&3 2>/dev/null)
- hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n'); length=$((16#${hex:-0}))
- hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n'); auth_type=$((16#${hex:-0}))
+ hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n')
+ length=$((16#${hex:-0}))
+ hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n')
+ auth_type=$((16#${hex:-0}))
[[ "$kind" == "R" && "$auth_type" == "10" ]] || return 1
dd bs=1 count=$((length - 8)) <&3 >/dev/null 2>&1
@@ -54,14 +56,19 @@
# Expect AuthenticationOk: 'R' + len=8 + auth_type=0
kind=$(dd bs=1 count=1 <&3 2>/dev/null)
- hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n'); length=$((16#${hex:-0}))
- hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n'); auth_type=$((16#${hex:-0}))
+ hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n')
+ length=$((16#${hex:-0}))
+ hex=$(dd bs=1 count=4 <&3 2>/dev/null | od -An -tx1 | tr -d ' \n')
+ auth_type=$((16#${hex:-0}))
[[ "$kind" == "R" && "$auth_type" == "0" ]]
}
echo "INFO - Fetching $TENANT access token"
token=$(get_default_access_token)
-[[ -n "${token}" && "${token}" != "null" ]] || { echo "ERROR - failed to obtain token"; exit 1; }
+[[ -n "${token}" && "${token}" != "null" ]] || {
+ echo "ERROR - failed to obtain token"
+ exit 1
+}
echo "INFO - Authenticating to postgres as $TENANT via SASL OAUTHBEARER"
if ! oauth_login "$TENANT" "$token"; then
⚠️ YAML / yamllint - 8 errors
.github/workflows/e2e.yaml
4:1 warning truthy value should be one of [false, true] (truthy)
63:1 error too many blank lines (1 > 0) (empty-lines)
.github/workflows/megalinter.yaml
4:1 warning truthy value should be one of [false, true] (truthy)
config/opensearch_dashboards/opensearch_dashboards.yml
32:14 warning truthy value should be one of [false, true] (truthy)
config/redpanda-admin.yaml
14:8 error trailing spaces (trailing-spaces)
17:5 warning comment not indented like content (comments-indentation)
config/redpanda-cluster.yaml
20:8 error trailing spaces (trailing-spaces)
23:5 warning comment not indented like content (comments-indentation)
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.5.0 --custom-flavor-setup --custom-flavor-linters BASH_SHELLCHECK,BASH_SHFMT,COPYPASTE_JSCPD,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,REPOSITORY_GIT_DIFF,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v6→v7Release Notes
actions/checkout (actions/checkout)
v7.0.0Compare Source
v7Compare Source
Configuration
📅 Schedule: (in timezone Europe/Copenhagen)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.