AI Hints
Home›CI/CD with GitHub Actions Tutorial›Templates and Shared Workflows
CI/CD with GitHub Actions · Lesson 117 of 138

Advanced Quiz

Test yourself.

⏱ 2 min read▶ Video at 2:16:09🎓 Free
Watch this lesson in the CI/CD with GitHub Actions courseWatch on YouTube ↗Full CI/CD with GitHub Actions course

Let's review the advanced section. Pause after each question, and answer before I do.

Advanced Quiz
From the video: Advanced Quiz
  • Advanced quiz
  • Pause and think
  • Then check

Question 1

What's the safest way to reference a third party action? Pin it to a full commit SHA.

Quick check
Safest action reference?

Question 2

How should a pull request title reach a run script? Through an environment variable.

Quick check
Untrusted text into run?

Question 3

Which trigger makes a workflow reusable? Workflow call.

Quick check
Make it reusable?

Question 4

Where should you never use self hosted runners? On public repositories.

Quick check
Never self-hosted on...

Question 5

A mac OS minute counts as how many Linux minutes? Ten.

Quick check
One macOS minute = ?

Question 6

Which permissions setting turns off every token permission by default? Permissions, with empty braces.

Quick check
All permissions off?

Summary

Excellent. Next, a new section of projects, starting with a full Python CI pipeline.

Key takeaways
  • Pin to SHAs
  • env for untrusted text
  • workflow_call
Next up: Project: Python CI — putting it together