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

GitHub Actions failing with: File not found: '/home/runner/work/_actions/paambaati/codeclimate-action/v3.1.0/lib/main.js' #626

Closed
edouard opened this issue Oct 20, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@edouard
Copy link

edouard commented Oct 20, 2022

Since about an hour ago, the CodeClimate step of our GitHub action fails with File not found: '/home/runner/work/_actions/paambaati/codeclimate-action/v3.1.0/lib/main.js'

We're running paambaati/codeclimate-action@v3.1.0

@edouard edouard added the bug Something isn't working label Oct 20, 2022
@edouard
Copy link
Author

edouard commented Oct 20, 2022

We’ve rerun actions that previously succeeded and they now fail, so it probably has to do with the latest commits pushed to the repo today?

@paambaati
Copy link
Owner

@edouard Quite possibly, yes. I'd changed the default branch from master to main, and that seems to have broken the publish/release workflow.

I'm urgently looking at this right now, thanks for reporting.

@paambaati
Copy link
Owner

@edouard I've just published v3.1.1, can you confirm that works for you?

@edouard
Copy link
Author

edouard commented Oct 20, 2022

@paambaati Yup, it works for me now with v3.1.1. Thank you for fixing it so quickly!

@edouard edouard closed this as completed Oct 20, 2022
@paambaati
Copy link
Owner

Apologies, and thanks for confirming.

To anyone else stumbling into this issue, I'm very sorry that I broke existing workflows. Please upgrade to v3.1.1 to continue using this action.

- uses: paambaati/codeclimate-action@v3.1.0
+ uses: paambaati/codeclimate-action@v3.1.1

@edouard
Copy link
Author

edouard commented Oct 20, 2022

No problem. Would it help existing users using codeclimate-action version < 3.1.1 if you pushed a master branch in interim? You’d have both main and master but would it fix the issue and have the existing workflows working?

@paambaati
Copy link
Owner

@edouard Unfortunately, no. I've tried this too, but the error continues to show up – see https://github.com/paambaati/codeclimate-action/actions/runs/3295541744/jobs/5434208601

For now, unfortunately, the only recourse is to upgrade the action to > v3.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants