Closed obirler closed 1 year ago
⚡ Sweep Free Trial: I used GPT-3.5 to create this ticket. You have 1 GPT-4 tickets left for the month and 0 for the day. For more GPT-4 tickets, visit our payment portal.
I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.
.github/workflows/dotnet.yml
✅ Commit 92650c8
• Replace the 'dotnet test' command in the 'Run tests' step with 'dotnet test Shapes.Tests'. This will ensure that the correct test project is being run.
trunk init
1/7 ✓⡿ Downloading Trunk 1.15.0... ⡿ Downloading Trunk 1.15.0... ⢿ Downloading Trunk 1.15.0... ⣻ Downloading Trunk 1.15.0... ⣽ Downloading Trunk 1.15.0... ⣾ Downloading Trunk 1.15.0... ⣷ Downloading Trunk 1.15.0... ✔ Downloading Trunk 1.15.0... done ⡿ Verifying Trunk sha256... ✔ Verifying Trunk sha256... done ⡿ Unpacking Trunk... ✔ Unpacking Trunk... done ✔ 8 linters were enabled (.trunk/trunk.yaml) actionlint 1.6.25 (1 github-workflow file) checkov 2.4.9 (3 yaml files) git-diff-check (23 files) markdownlint 0.36.0 (1 markdown file) (created .markdownlint.yaml) prettier 3.0.3 (1 markdown, 3 yaml files) trivy 0.45.0 (3 yaml files) trufflehog 3.56.0 (23 files) yamllint 1.32.0 (3 yaml files) (created .yamllint.yaml) Next Steps 1. Read documentation Our documentation can be found at https://docs.trunk.io 2. Get help and give feedback Join the Trunk community at https://slack.trunk.io
trunk fmt .github/workflows/dotnet.yml
2/7 ✓✔ Formatted .github/workflows/dotnet.yml Re-checking autofixed files... Checked 1 file ✔ No issues
trunk check --fix .github/workflows/dotnet.yml
3/7 ❌ (`1`)ISSUES .github/workflows/dotnet.yml:4:8 4:8 high empty value in block mapping yamllint/empty-values FAILURES install_shims_for_checkov Installing shims for tool checkov .trunk/out/iLpMv.yaml NOTICES A tool failed to run. You can open the details yaml file for more information. Checked 1 file 1 existing issue
trunk fmt .github/workflows/dotnet.yml
4/7 ✓✔ Formatted .github/workflows/dotnet.yml Re-checking autofixed files... Checked 1 file ✔ No issues
trunk check --fix .github/workflows/dotnet.yml
5/7 ❌ (`1`)ISSUES .github/workflows/dotnet.yml:4:9 1:1 high Ensure top-level permissions are not set to write-all checkov/CKV2_GHA_1 4:9 high "push" section is sequence node but mapping node is expected actionlint/syntax-check Checked 1 file 1 existing issue ✖ 1 new issue
trunk fmt .github/workflows/dotnet.yml
6/7 ✓✔ Formatted .github/workflows/dotnet.yml Re-checking autofixed files... Checked 1 file ✔ No issues
trunk check --fix .github/workflows/dotnet.yml
7/7 ✓ISSUES .github/workflows/dotnet.yml:1:1 1:1 high Ensure top-level permissions are not set to write-all checkov/CKV2_GHA_1 Checked 1 file 1 existing issue
I have finished reviewing the code for completeness. I did not find errors for sweep/fix-github-action
.
.
🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord
Checklist
- [X] `.github/workflows/dotnet.yml` ✅ Commit [`92650c8`](https://github.com/obirler/Shapes/commit/92650c8a1975e5e029fcca0f94446d0c13eb08c2)Sandbox Execution Logs