{"repo":"skills/reusable-workflows","free":true,"listed":false,"github":"https://github.com/skills/reusable-workflows","clone":"git clone https://github.com/skills/reusable-workflows.git","description":"Learn how to create reusable GitHub Actions workflows and call them from another workflow.","language":"JavaScript","stars":108,"topics":["actions","github-actions","skills-course","workflows"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Create and use reusable workflows Learn how to create reusable GitHub Actions workflows and call them from another workflow. Welcome - Who is this for : Developers and maintainers who want to reduce duplication in GitHub Actions pipelines. - What you'll learn : How to define and call reusable workflows, and how permissions flow across caller and nested reusable workflows. - What you'll build : A CI setup that runs reusable quality checks, deploys to GitHub Pages, and comments deployment details on pull requests. - Prerequisites : - Basic familiarity with GitHub Actions workflows - Recommended GitHub Skills exercises: - Hello GitHub Actions - Test with Actions - How long : This exercise takes less than an hour to complete. In this exercise, you will: 1. Create a reusable workflow from scratch and use it in another workflow. 1. Deeply understand how permissions work across caller and reusable workflows. 1. Expand your CI workflow to deploy to GitHub Pages and comment on pull requests with deployment details. How to start this exercise Simply copy the exercise to your account, then give your favorite Octocat (Mona) about 20 seconds to prepare the first lesson, then refresh the page . Having trouble? 🤷 When copying the exercise, we recommend the following settings: - For owner, choose your personal account or an organization to host the repository. - We recommend creating a public repository, since private repositories will use Actions minutes. If the exercise isn't ready in 20 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/skills","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skills/reusable-workflows/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}