Skip to content
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

Repo sync #32993

Merged
merged 1 commit into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,30 @@ Due to [path filtering](/actions/using-workflows/workflow-syntax-for-github-acti

{% data reusables.pull_requests.path-filtering-required-workflows %}

{% ifversion merge-queue %}

### Status checks with {% data variables.product.prodname_actions %} and a Merge queue

You **must** use the `merge_group` event to trigger your {% data variables.product.prodname_actions %} workflow when a pull request is added to a merge queue.

{% note %}

**Note:** {% data reusables.actions.merge-group-event-with-required-checks %}

{% endnote %}

A workflow that reports a check which is required by the target branch's protections would look like this:

```yaml
on:
pull_request:
merge_group:
```

For more information on the `merge_group` event, see "[AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#merge_group)."

{% endif %}

## Required status checks from unexpected sources

It's also possible for a protected branch to require a status check from a specific {% data variables.product.prodname_github_app %}. If you see a message similar to the following, then you should verify that the check listed in the merge box was set by the expected app.
Expand Down
Loading