The Workflow Syntax must have what file extensions? - ANSWER .yml or
.yaml
The Workflow is stored in what directory? - ANSWER .github/workflows/
Each different YAML file corresponds to what? - ANSWER A different
workflow.
Where is the Workflow's name displayed? - ANSWER In the repository's
actions page
What is the Workflow, Job, or Step ENV? - ANSWER A map of environment
variables that are available within each Workflow.
What is the On Event used for? - ANSWER The event type that triggers the
Workflow.
How can you provide arguments to the On Event in your Workflow? -
ANSWER As a single event string, an array of events, or a configuration map
that restricts the execution of a workflow.
With regards to the On Event, Paths specify what? - ANSWER Specify which
files must have been modified in order to run a workflow.
With regards to the On Event, if your rules are made up of only exclusions,
,you can use what keywords? - ANSWER Branches-ignore, tags-ignore, and
paths-ignore.
With regards to the On Event, what keyword forms cannot be mixed. -
ANSWER The "-ignore' form and the inclusive version.
With regards to the On Event, what types of keywords allow us to narrow
down activities? - ANSWER Opened, Created, Edited, etc...
A workflow is made up of one or more...? - ANSWER One or more Jobs
Jobs are identified by what? - ANSWER A unique Job ID or name. Starts with
a letter or underscore.
How do jobs run as a default? - ANSWER Jobs run in parallel
Where does each job run? - ANSWER Each job runs in a fresh instance
specified by `runs-on`.
What is the Job Name used for? - ANSWER It's the name displayed on
GitHub.
, What is the Needs keyword? - ANSWER Identifies any job that must complete
successfully before this job can run. Makes the jobs run sequentially.
How can arguments be passed to the Needs keyword? - ANSWER Arguments
can be passed as a string or as an array of strings.
What happens if a job needs another job and it fails? - ANSWER All jobs that
need a failed job are skipped unless the job uses a conditional statement that
causes the job to continue.
What does the 'runs-on' keyword determine? - ANSWER It determines the
type of virtual host machine to run the job on.
Where can the jobs virtual host run? - ANSWER It can run either in a Github, a
self-hosted runner, or a user-specified container.
What can be ran in a container? - ANSWER A container can run any steps in a
job that don't already specify a container.
If you have steps that use both script and container actions, what will happen
to the two containers? - ANSWER The container actions will run as siblings
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Smooth. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.99. You're not tied to anything after your purchase.