GitHub Actions
Read questions, check verified answers and discuss the reasoning. Use reading options to shape your revision, or switch to the simulator for timed practice.
47 questions in this view
You have a GitHub repository named Repo1. Repo1 uses GitHub Actions workflows that upload build artifacts.
You plan to change the artifact and log retention period to 30 days.
You need to remove expired GitHub Actions artifacts from Repo1. The solution must explicitly identify and delete existing expired artifacts by using the REST API.
How should you complete the script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Which YAML configuration will trigger a GitHub Actions workflow when a push is made to the main branch and a pull request is opened or synchronized on that branch?
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.
You have a GitHub repository that contains reusable custom actions.
You need to configure the following steps:
Which type of action should you use for each step? To answer, drag the appropriate action types to the correct steps. Each type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.