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

Fix "Error: EACCES: permission denied" in CI #480

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

munishchouhan
Copy link
Member

@munishchouhan munishchouhan commented Apr 30, 2024

Recently we are getting lots of permission denied errors, when tests fails and GHA tries to upload test reports

Error: EACCES: permission denied, scandir '/home/runner/work/wave/wave/build-workspace/.trivy-cache/trivy'

This PR will remove the build-workspace directory before uploading the test report

related issue:
actions/upload-artifact#192

@munishchouhan munishchouhan self-assigned this Apr 30, 2024
@pditommaso pditommaso merged commit 0f296e9 into master Apr 30, 2024
1 check passed
@pditommaso pditommaso deleted the remove-trivy-cache-in-ci branch April 30, 2024 12:16
@pditommaso
Copy link
Contributor

Screenshot 2024-04-30 at 14 24 01

@munishchouhan
Copy link
Member Author

ok i think we need to use sudo to delete it, I will create another pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants