diff --git a/README.md b/README.md index 457d685..74e9b1e 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ -# Upload Code Coverage Action - -> **Note:** This repo (`code-quality-org/upload-code-coverage-action`) is a temporary home while the action is being developed. It will move to `github/upload-code-coverage-action` once it's ready for general use. +# Upload Code Coverage Upload a Cobertura XML coverage report to GitHub's code coverage API. ## Usage ```yaml -- uses: code-quality-org/upload-code-coverage-action@main +- uses: actions/upload-code-coverage@v1 with: file: cobertura.xml language: Java @@ -88,7 +86,7 @@ jobs: with: name: cobertura-report - - uses: code-quality-org/upload-code-coverage-action@main + - uses: actions/upload-code-coverage@v1 with: file: cobertura.xml language: Java diff --git a/action.yml b/action.yml index 1b07e2d..45ed8c2 100644 --- a/action.yml +++ b/action.yml @@ -99,7 +99,7 @@ runs: UPLOAD_OUTPUT=$(gh api --method PUT "/repos/${{ github.repository }}/code-coverage/report" \ --input __body.json 2>&1) || { if echo "$UPLOAD_OUTPUT" | grep -qi "not authorized"; then - echo "::error::Coverage upload returned 403 Forbidden. Ensure the calling job has 'security-events: write' permission. See https://github.com/code-quality-org/upload-code-coverage-action#permissions" + echo "::error::Coverage upload returned 403 Forbidden. Ensure the calling job has 'security-events: write' permission. See https://github.com/actions/upload-code-coverage#permissions" else echo "::error::Coverage upload failed: $UPLOAD_OUTPUT" fi