GH-200 Exam Question 56
In GitHub Actions, which workflow key defines the events that trigger the workflow such as push or pull_request?
GH-200 Exam Question 57
By default, which workflows can use an action stored in internal repository? (Each answer presents a complete solution. Choose two.)
GH-200 Exam Question 58
You are a DevOps engineer working on custom Actions development. You need to handle the errors or exceptions as part of the JavaScript based action code. What should be added to the following code block to handle errors?
const core = require('@actions/core');
try {
// action code
} catch (error) {
<< insert snippet here >>
}
const core = require('@actions/core');
try {
// action code
} catch (error) {
<< insert snippet here >>
}
GH-200 Exam Question 59
As a developer, you need to leverage Redis in your workflow. What is the best way to use Redis on a self-hosted Linux runner without affecting future workflow runs?
GH-200 Exam Question 60
While writing a custom action, some behavior within the runner must be changed. Which workflow commands would set an error message in the runner's output? (Each correct answer presents a complete solution. Choose two.)
