-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support of GitHub Enterprise #13
Comments
Hello @vebr, thank you for the response. The relevant part of my workflow file is the following: ---
name: Build
on:
pull_request:
jobs:
Test:
runs-on: [ self-hosted ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- run: yarn install
- run: yarn test --coverage --runInBand --json --outputFile=result.json --testLocationInResults
- uses: vebr/jest-lcov-reporter@v0.2.0
if: always()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info
- uses: tanmen/jest-reporter@v1
if: always()
with:
github-token: ${{ secrets.GITHUB_TOKEN }} Though now that you mention that it works for you, I guess the difference is probably hidden behind |
After digging deeper I'm really confused about what is going on here. I found that the github action package you use is trying to read Still, the request is using |
@slaweet Do you use forks in your company? I have this same problem on a library I'm working on where we use forks of the main repo and create pull requests from the forks to that repo. The problem for me at least is that |
I found this action and it looked pretty cool, so I tried to run it on a GitHub Enterprise instance, but it failed because it tried to send the report to
api.github.com/...
instead of the URL which should be inGITHUB_API_URL
- according to https://docs.github.com/en/actions/reference/environment-variablesThe text was updated successfully, but these errors were encountered: