Skip to content

Commit

Permalink
Merge pull request #32131 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Mar 18, 2024
2 parents e31a4fb + d50a1b7 commit a28acec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,25 @@ You can see the overall state of the last commit to a branch on your repository'
There are two types of status checks on {% data variables.product.product_name %}:

- Checks
- Statuses
- Commit statuses

_Checks_ are different from _statuses_ in that they provide line annotations, more detailed messaging, and are only available for use with {% data variables.product.prodname_github_apps %}.
_Checks_ are different from _commit statuses_ in that they provide line annotations, more detailed messaging, and are only available for use with {% data variables.product.prodname_github_apps %}.

Organization owners and users with push access to a repository can create checks and statuses with {% data variables.product.product_name %}'s API. For more information, see "[AUTOTITLE](/rest/checks)" and "[AUTOTITLE](/rest/commits#commit-statuses)."
{% note %}

**Note:** {% data variables.product.prodname_actions %} generates checks, not commit statuses, when workflows are run.

{% endnote %}

Organization owners and users with push access to a repository can create checks and commit statuses with {% data variables.product.product_name %}'s API. For more information, see "[AUTOTITLE](/rest/checks)" and "[AUTOTITLE](/rest/commits/statuses)."

## Checks

When _checks_ are set up in a repository, pull requests have a **Checks** tab where you can view detailed build output from status checks and rerun failed checks.
When _checks_ are set up in a repository, pull requests have a **Checks** tab where you can view detailed build output from checks and rerun failed checks.

{% note %}

**Note:** The **Checks** tab only gets populated for pull requests if you set up _checks_, not _statuses_, for the repository.
**Note:** The **Checks** tab only gets populated for pull requests if you set up _checks_, not _commit statuses_, for the repository.

{% endnote %}

Expand Down Expand Up @@ -83,7 +89,7 @@ Alternatively, to skip or request _all_ checks for your commit, add one of the f

{% ifversion status-check-retention %}

### Retention of status checks
### Retention of checks

{% data reusables.pull_requests.retention-checks-data %}

Expand Down
2 changes: 1 addition & 1 deletion src/content-render/stylesheets/alerts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $colors: "default", "muted", "subtle", "accent", "success", "attention",
padding: var(--base-size-8, 0.5rem) var(--base-size-16, 1rem);
border-left: 0.25em solid
var(--borderColor-default, var(--color-border-default));
margin-bottom: 1rem;
margin: 1rem 0;

p:last-child,
ul:last-child,
Expand Down

0 comments on commit a28acec

Please sign in to comment.