A team uses the GitHub app for Microsoft Teams and has subscribed to commit, issue, and workflow notifications for a repository. The repository's default branch is main.
The feedback strategy must provide:
- Commit notifications for branches matching
release/*. - Issue notifications restricted to issues labeled
customer-impact. - Workflow notifications for runs triggered by pushes to
main.
For each statement, select Yes if it is true. Otherwise, select No.
| Statement | Yes | No |
|---|---|---|
| A branch filter can restrict the commit notifications to branches matching release/*. The source supports branch names and patterns as filters for commit updates. The release/* pattern therefore provides the requested commit scope. | Correct | |
| A label allowlist containing customer-impact can provide the required scope for issue notifications. The source describes allowlisted labels as a way to restrict incoming events. Using customer-impact provides the label-based scope required for these issue updates. | Correct | |
| The workflow notification filters can remain unchanged from their defaults and meet the push-triggered workflow requirement. The source describes the default workflow scope as pull-request-triggered activity on the default branch. The scenario requires push-triggered runs, so the event filtering needs customization. | Correct |
Commit updates can be scoped by branch patterns, while issue updates can be scoped by labels. Workflow notifications have a separate default focused on pull requests. Receiving the required push-triggered workflow updates therefore requires changing that filtering.