Skip to content

Label is not optional#44776

Open
asbjornu wants to merge 1 commit into
github:mainfrom
asbjornu:patch-1
Open

Label is not optional#44776
asbjornu wants to merge 1 commit into
github:mainfrom
asbjornu:patch-1

Conversation

@asbjornu

Copy link
Copy Markdown

The label property of actions/upload-code-coverage is not optional.

Why:

In the documentation for actions/upload-code-coverage, label is clearly identified as required. It is therefore wrong to state that it is optional.

What's being changed (if available, include any code snippets, screenshots, or gifs):

Removing the word "optional" from the documentation of the label property.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

The `label` property of `actions/upload-code-coverage` is not optional.
Copilot AI review requested due to automatic review settings June 17, 2026 09:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates documentation for setting up code coverage by clarifying the LABEL parameter description.

Changes:

  • Adjusts the wording for the LABEL workflow input to remove “optional” phrasing.

* **`COVERAGE-FILE-PATH.xml`**: The path to your Cobertura XML report (for example, `coverage.xml` or `target/site/jacoco/cobertura.xml`).
* **`LANGUAGE`**: The primary language of the code being covered (for example, `Python`, `Java`, `JavaScript`).
* **`LABEL`**: An optional label to identify this coverage report (for example, `code-coverage/pytest`).
* **`LABEL`**: A label to identify this coverage report (for example, `code-coverage/pytest`).
@github-actions

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
code-security/how-tos/maintain-quality-code/set-up-code-coverage.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants