Skip to content

[PROBLEM] tiny code error report #1692

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

Closed
mhyeonsoo opened this issue Feb 21, 2025 · 2 comments
Closed

[PROBLEM] tiny code error report #1692

mhyeonsoo opened this issue Feb 21, 2025 · 2 comments
Labels
bug Something isn't working Stale

Comments

@mhyeonsoo
Copy link

[optional format]

Identify the file to be fixed
Code_quality_and_security_scan_with_GitHub_Actions.md

Describe the problem
In the provided yaml code, there is 'fi' lacking inside

Describe a solution

name: Get Diff
        run: |
          git diff origin/main...HEAD \
            | grep '^[+-]' \
            | grep -Ev '^(---|\+\+\+)' > code_changes_only.txt
          jq -Rs '{diff: .}' code_changes_only.txt > diff.json
          if [ -f original_files_temp.json ]; then
            jq -s '.[0] * .[1]' diff.json original_files_temp.json > combined.json
            mv combined.json diff.json
          fi

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Thanks

@mhyeonsoo mhyeonsoo added the bug Something isn't working label Feb 21, 2025
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Apr 23, 2025
Copy link

github-actions bot commented May 4, 2025

This issue was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

1 participant