Skip to content

Commit 1e5c4c1

Browse files
authored
Actions bug fixes for the week of Feb 5, 2024 (#49136)
1 parent 4ffd12c commit 1e5c4c1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

content/actions/using-workflows/events-that-trigger-workflows.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,10 @@ on:
387387

388388
{% note %}
389389

390-
**Note**: {% data reusables.developer-site.multiple_activity_types %} Although only the `checks_requested` activity type is supported, specifying the activity type will keep your workflow specific if more activity types are added in the future. For information about each activity type, see "[AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group)." {% data reusables.developer-site.limit_workflow_to_activity_types %}
390+
**Notes**:
391+
392+
- {% data reusables.developer-site.multiple_activity_types %} Although only the `checks_requested` activity type is supported, specifying the activity type will keep your workflow specific if more activity types are added in the future. For information about each activity type, see "[AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group)." {% data reusables.developer-site.limit_workflow_to_activity_types %}
393+
- {% data reusables.actions.merge-group-event-with-required-checks %}
391394

392395
{% endnote %}
393396

@@ -397,6 +400,8 @@ For example, you can run a workflow when the `checks_requested` activity has occ
397400

398401
```yaml
399402
on:
403+
pull_request:
404+
branches: [ "main" ]
400405
merge_group:
401406
types: [checks_requested]
402407
```

content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You **must** use the `merge_group` event to trigger your {% data variables.produ
3737

3838
{% note %}
3939

40-
**Note:** If your repository uses {% data variables.product.prodname_actions %} to perform required checks on pull requests in your repository, you need to update the workflows to include the `merge_group` event as an additional trigger. Otherwise, status checks will not be triggered when you add a pull request to a merge queue. The merge will fail as the required status check will not be reported. The `merge_group` event is separate from the `pull_request` and `push` events.
40+
**Note:** {% data reusables.actions.merge-group-event-with-required-checks %}
4141

4242
{% endnote %}
4343

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If your repository uses {% data variables.product.prodname_actions %} to perform required checks {% ifversion repo-rules-required-workflows %}or if you require workflows via organization rulesets {% endif %}on pull requests in your repository, you need to update the workflows to include the `merge_group` event as an additional trigger. Otherwise, status checks will not be triggered when you add a pull request to a merge queue. The merge will fail as the required status check will not be reported. The `merge_group` event is separate from the `pull_request` and `push` events.

0 commit comments

Comments
 (0)