FlashKeepers

Git and Version Control · College · College and University

GitHub Actions and CI Basics

Workflow YAML, triggers, jobs, runners, secrets, caching, matrix builds, artifacts and reusable workflows.

About this set

35 basic cards for College Git and Version Control. It opens with "Where must workflow files be located in a GitHub repository?" and "What is the file extension for a GitHub Actions workflow?". Study it alongside the other College sets below.

35 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

Where must workflow files be located in a GitHub repository?
Show answer.github/workflows/ directory
What is the file extension for a GitHub Actions workflow?
Show answer.yml or .yaml
Which top-level keyword defines the list of jobs in a workflow?
Show answerjobs
What does the 'on' keyword specify in a workflow file?
Show answerThe events that trigger the workflow
Which trigger event fires when code is pushed to a branch?
Show answerpush
Which trigger event fires when a pull request is opened or updated?
Show answerpull_request
What trigger event allows a workflow to run on a cron schedule?
Show answerschedule
Which trigger allows manual workflow execution from the Actions tab?
Show answerworkflow_dispatch
What keyword specifies the machine type where a job runs?
Show answerruns-on
Name three default GitHub-hosted runner operating systems.
Show answerubuntu-latest, windows-latest, macos-latest
What type of runner is self-managed and runs on your own hardware?
Show answerself-hosted runner
What keyword defines the ordered list of commands or actions in a job?
Show answersteps
Which keyword in a step executes a command directly on the runner?
Show answerrun
Which keyword in a step references an action from the marketplace?
Show answeruses
What is the most common action used to access the repository code?
Show answeractions/checkout

20 more cards in the app

Study this set free