Attributes help to define relationships between GitHub events, workflows, and actions. In this video, learn some of the common attributes you'll use while developing workflows and actions.
- [Instructor] Okay, we've created a workflow … and used an action, … but honestly, GitHub did a lot of the work for us. … So before we code our own workflows and actions, … let's get familiar … with some of the common attributes we'll be using. … The first attribute is name. … This is used to identify the workflow. … If you're planning to have multiple workflows … in a repository, it's a good practice … to give each workflow a name … that will help you know what a workflow does. … You might even consider giving the workflow … the same name as the file that contains the workflow. … One thing to note though, … the name attribute is not required. … If you leave it out, GitHub will create a name for you … using the path to the workflow file … and the name of the file itself. … Next up is the on attribute. … This describes the GitHub event … that will trigger the workflow. … The on attribute is important. … So it should come as no surprise … that this attribute is required. … I mean, without it, …
- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Developing a CI/CD pipeline with GitHub Actions
- Building custom actions
- Publishing an action to the GitHub Marketplace
Skill Level Beginner
1. Your First Action
Your first Action2m 31s
2. Connecting Actions with Workflows
3. Using Actions
4. Developing a CI/CD Workflow
5. Building Custom Actions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.