barecheck / code-coverage-action

GitHub Action that generates code coverage reports
https://barecheck.com
MIT License
62 stars 14 forks source link

Getting HttpError: Not Found #230

Closed hemant-brb closed 1 year ago

hemant-brb commented 1 year ago
            - name: Backend Code Coverage report
              id: code-coverage
              uses: barecheck/code-coverage-action@v1
              with:
                barecheck-github-app-token: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
                lcov-file: "apps/func/coverage/lcov.info"
                send-summary-comment: true
                show-annotations: "warning"
              env:
                BARECHECK_GITHUB_APP_TOKEN: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}

Output: lcov-file: apps/func/coverage/lcov.info Current code coverage: 48.29% Base branch code coverage: 0% Code coverage diff: 48.29% Code coverage diff: 48.29% HttpError: Not Found Error: Not Found

hemant-brb commented 1 year ago

Closing the issue as it was an issue on my end.

Just in case anyone faces the same the reason for the error was that BARECHECK_GITHUB_APP_TOKEN didn't have access to the repo.