Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GitHub Exam GitHub-Actions Topic 4 Question 3 Discussion

Actual exam question for GitHub's GitHub-Actions exam
Question #: 3
Topic #: 4
[All GitHub-Actions Questions]

As a DevOps engineer developing a JavaScript action, you need to include annotations to pass warning messages to workflow runners. Which code snippet can you use to implement an annotation in your Actions?

As a DevOps engineer developing a JavaScript action, you need to include annotations to pass warning messages to workflow runners. Which code snippet can you use to implement an annotation in your Actions?

Show Suggested Answer Hide Answer
Suggested Answer: C

The core.warning() function from the @actions/core package is used to create a warning message in the workflow logs. This is an annotation type that informs users about issues that don't require failing the build but still need attention.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel