In the following workflow file, line 5 interprets lines 3 and 4 as Python. Which of the following is a valid option to complete line 5?
1 steps:
2 - run: |
3 import os
4 print(os.environ[ ' PATH ' ])
5
Your organization has a secret that must be available to all the repositories within GitHub Actions workflows.
You need to store the secret. The solution must minimize administrative effort.
What should you do in GitHub?
Which choices represent best practices for publishing actions so that they can be consumed reliably? (Choose two.)
What are the two types of environment protection rules you can configure? (Choose two.)
In which of the following scenarios should you use self-hosted runners? Each correct answer presents a complete solution.
NOTE: Each correct answer is worth one point.
You are reaching your organization ' s storage limit for GitHub artifacts and packages. What should you do to prevent the storage limit from being reached?
When reviewing an action for use, what file defines its available inputs and outputs?
You are a developer working on developing reusable workflows for your organization. What keyword should be included as part of the reusable workflow event triggers?
You are reaching your organization ' s storage limit for GitHub artifacts and packages. What should you do to prevent the storage limit from being reached? (Choose two.)