-
-
Notifications
You must be signed in to change notification settings - Fork 12
chore(workflows): consolidate deployment workflows and implement OIDC for npm publishing #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #141 +/- ##
=======================================
Coverage 89.95% 89.95%
=======================================
Files 3 3
Lines 229 229
=======================================
Hits 206 206
Misses 23 23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| actionlint | 4 | 3 | 0 | 0.12s | ||
| ✅ COPYPASTE | jscpd | yes | no | no | 1.6s | |
| ✅ JAVASCRIPT | eslint | 10 | 0 | 0 | 2.76s | |
| ✅ JSON | jsonlint | 7 | 0 | 0 | 0.14s | |
| ✅ JSON | npm-package-json-lint | yes | no | no | 0.36s | |
| prettier | 7 | 1 | 0 | 0.33s | ||
| ✅ JSON | v8r | 7 | 0 | 0 | 11.27s | |
| markdownlint | 5 | 14 | 0 | 0.57s | ||
| markdown-table-formatter | 5 | 1 | 0 | 0.19s | ||
| ✅ REPOSITORY | checkov | yes | no | no | 21.77s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.48s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | no | 38.03s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.0s | |
| ✅ REPOSITORY | syft | yes | no | no | 1.6s | |
| ✅ REPOSITORY | trivy | yes | no | no | 11.14s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.51s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 5.15s | |
| ✅ SPELL | cspell | 37 | 0 | 0 | 3.78s | |
| lychee | 22 | 3 | 0 | 26.36s | ||
| prettier | 8 | 1 | 3 | 0.38s | ||
| ✅ YAML | v8r | 8 | 0 | 0 | 6.39s | |
| ✅ YAML | yamllint | 8 | 0 | 0 | 0.32s |
Detailed Issues
⚠️ ACTION / actionlint - 3 errors
.github/workflows/github-dependents-info.yml:54:9: shellcheck reported issue in this script: SC2086:info:1:15: Double quote to prevent globbing and word splitting [shellcheck]
|
54 | run: sudo chown -R $USER:$USER .
| ^~~~
.github/workflows/github-dependents-info.yml:54:9: shellcheck reported issue in this script: SC2086:info:1:21: Double quote to prevent globbing and word splitting [shellcheck]
|
54 | run: sudo chown -R $USER:$USER .
| ^~~~
.github/workflows/test.yml:78:11: input "file" is not defined in action "codecov/codecov-action@v5". available inputs are "base_sha", "binary", "codecov_yml_path", "commit_parent", "directory", "disable_file_fixes", "disable_safe_directory", "disable_search", "disable_telem", "dry_run", "env_vars", "exclude", "fail_ci_if_error", "files", "flags", "force", "gcov_args", "gcov_executable", "gcov_ignore", "gcov_include", "git_service", "handle_no_reports_found", "job_code", "name", "network_filter", "network_prefix", "os", "override_branch", "override_build", "override_build_url", "override_commit", "override_pr", "plugins", "recurse_submodules", "report_code", "report_type", "root_dir", "run_command", "skip_validation", "slug", "swift_project", "token", "url", "use_legacy_upload_endpoint", "use_oidc", "use_pypi", "verbose", "version", "working-directory" [action]
|
78 | file: coverage.lcov
| ^~~~~
⚠️ SPELL / lychee - 3 errors
[403] https://npmjs.org/package/java-caller | Network error: Forbidden
[403] https://www.npmjs.com/package/java-caller | Network error: Forbidden
[ERROR] https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | Network error: error sending request for url (https://www.contributor-covenant.org/version/1/4/code-of-conduct.html) Maybe a certificate error?
📝 Summary
---------------------
🔍 Total...........64
✅ Successful......15
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded........46
❓ Unknown..........0
🚫 Errors...........3
Errors in README.md
[403] https://www.npmjs.com/package/java-caller | Network error: Forbidden
[403] https://npmjs.org/package/java-caller | Network error: Forbidden
Errors in CODE_OF_CONDUCT.md
[ERROR] https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | Network error: error sending request for url (https://www.contributor-covenant.org/version/1/4/code-of-conduct.html) Maybe a certificate error?
⚠️ MARKDOWN / markdown-table-formatter - 1 error
1 files contain markdown tables to format:
- README.md
⚠️ MARKDOWN / markdownlint - 14 errors
CODE_OF_CONDUCT.md:58:44 error MD034/no-bare-urls Bare URL used [Context: "[email protected]"]
CODE_OF_CONDUCT.md:71:14 error MD034/no-bare-urls Bare URL used [Context: "https://www.contributor-covena..."]
CODE_OF_CONDUCT.md:76:1 error MD034/no-bare-urls Bare URL used [Context: "https://www.contributor-covena..."]
README.md:67:13 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
README.md:67:27 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
README.md:67:37 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
README.md:67:47 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
README.md:67:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
README.md:67:13 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
README.md:67:27 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
README.md:67:37 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
README.md:68:362 error MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]
README.md:70:123 error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]
README.md:74:315 error MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]
⚠️ JSON / prettier - 1 error
Checking formatting...
[warn] .cspell.json
[warn] .vscode/launch.json
[warn] examples/cli_app/lib/java-caller-config.json
[warn] examples/cli_app/package.json
[warn] examples/module_app/package.json
[warn] renovate.json
[warn] Code style issues found in 6 files. Run Prettier with --write to fix.
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/workflows/deploy.yml
[warn] .github/workflows/test.yml
[warn] Code style issues found in 2 files. Run Prettier with --write to fix.
See detailed reports in MegaLinter artifacts
You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:
- oxsecurity/megalinter/flavors/[email protected] (61 linters)
- oxsecurity/megalinter/flavors/[email protected] (75 linters)
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 [email protected] --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,COPYPASTE_JSCPD,JAVASCRIPT_ES,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R
… for npm publishing

No description provided.