codacy / codacy-coverage-reporter-action

GitHub Action for the codacy-coverage-reporter
Other
58 stars 15 forks source link

Can't find 'action.yml', repository moved #10

Closed LourensVeen closed 4 years ago

LourensVeen commented 4 years ago

I'm getting the following error running on GitHub Actions:

Download action repository 'mrfyda/codacy-coverage-reporter-action@master'
##[error]Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/_actions/mrfyda/codacy-coverage-reporter-action/master'. Did you forget to run actions/checkout before running your local action?

This is not a local runner, it's running on GitHub's infrastructure.

This is caused by the repository having moved from the mrfyda account to the codacy organisation. If you update your workflow from

    - name: Upload coverage report to Codacy
      uses: mrfyda/codacy-coverage-reporter-action@master
      with:
        project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}

to

    - name: Upload coverage report to Codacy
      uses: codacy/codacy-coverage-reporter-action@master
      with:
        project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}

then everything will work again.

So this is solved for me and not really a bug, I'm just putting this here so others can find it if needed.

franciscodua commented 4 years ago

Thank you for this explanation. Since this is not actionable on our side I'll close it, but others will still be able to find it if needed.