Microsoft GH-200 Question Answer
What will the output be for the following event trigger block in a workflow?
It throws a workflow syntax error, pointing to the types definition in issue_comment event.
It throws a workflow syntax error, pointing to the types definition in issues event.
It runs the workflow when an issue is edited or when an issue comment created.
It runs the workflow when an issue or issue comment in the workflow's repository is created or modified.
It runs the workflow when an issue is created or edited, or when an issue or pull request comment is created.
The provided event trigger block specifies two types of events:
For issues: the workflow triggers on opened or edited issues.
For issue_comment: the workflow triggers when an issue comment is created.
This configuration ensures the workflow will run when either an issue is opened or edited, or an issue comment is created.
TESTED 11 Aug 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved