Update references for actions/upload-code-coverage

Update README and action.yml to reference the new permanent home
at actions/upload-code-coverage. Remove temporary location notice.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Joshua Hale
2026-04-24 17:11:55 +01:00
parent dd8808a178
commit b969047092
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -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
+1 -1
View File
@@ -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