Skip to content
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

bug: fix reviewdog github action #26

Open
ejlee3 opened this issue Feb 20, 2025 · 0 comments
Open

bug: fix reviewdog github action #26

ejlee3 opened this issue Feb 20, 2025 · 0 comments
Labels
Beginner bug Something isn't working

Comments

@ejlee3
Copy link
Contributor

ejlee3 commented Feb 20, 2025

Version
What release version was the issue found in? - main GHA

Hardware configuration
List Hardware components used.
Ex.
Issue found with the following:

  • Intel® Xeon Platinum 8351N with Intel® Data Center GPU Flex 140
  • 12th Gen Intel® Core™ i7 with Intel® Arc™ A770M Graphics

Describe the bug
Reviewdog fails to run

To Reproduce
Steps to reproduce the behavior:

  1. Open a new PR and try to run reviewdog
  2. See the following output (from latest PR run):
Current runner version: '2.322.0'
Operating System
Runner Image
Runner Image Provisioner
GITHUB_TOKEN Permissions
Secret source: None
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/[2](https://github.com/intel-retail/core-services/actions/runs/13292119665/job/37130801174#step:1:2)024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Additional context
Related PR #25 was opened to attempt to address this issue, but those fixes also result in an error:

Run mkdir -p "$PWD"/scan_results
time=2025-02-13T17:16:50.001Z level=INFO msg="reviewdog: [start] runner=bandit"
time=2025-02-13T17:16:50.002Z level=INFO msg="reviewdog: [start] runner=hadolint"
time=2025-02-13T17:16:50.002Z level=INFO msg="reviewdog: [start] runner=shellcheck"
time=2025-02-13T17:16:50.003Z level=INFO msg="reviewdog: [start] runner=pycodestyle"
time=2025-02-13T17:16:50.050Z level=INFO msg="reviewdog: [finish] runner=pycodestyle"
time=2025-02-13T17:16:50.233Z level=INFO msg="reviewdog: [finish] runner=bandit"
time=2025-02-13T17:16:50.59[8](https://github.com/intel-retail/core-services/actions/runs/13251321928/job/37181062345?pr=25#step:10:9)Z level=INFO msg="reviewdog: [finish] runner=shellcheck"
reviewdog: fail to run reviewdog: failed to unmarshal rdjson (DiagnosticResult): proto: syntax error (line 1:1): invalid value hadolint
Error: Process completed with exit code 1.
@ejlee3 ejlee3 added Beginner bug Something isn't working labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beginner bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant