Skip to content

skills/write-javascript-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Write JavaScript Actions

Write your own GitHub JavaScript Action and automate customized tasks unique to your workflow.

Welcome

Write your own GitHub JavaScript Action and automate customized tasks unique to your workflow.

  • Who is this for: Developers, GitHub users, users new to Git, students, managers, and for teams.
  • What you'll learn: How to consume actions within a workflow file, create custom JavaScript based actions and publish your newly created action to the marketplace.
  • Prerequisites: Before you start, you should be familiar with GitHub, GitHub Actions, and Continuous Integration with GitHub Actions.
  • How long: This course takes about 1 to 2 hours to be completed.

In this course, you will:

  1. Initialize a JavaScript project
  2. Configure an action
  3. Create a metadata file
  4. Create JavaScript files
  5. Add actions to workflow file
  6. Trigger action

How to start this course

start-course

  1. Right-click Start course and open the link in a new tab.
  2. In the new tab, most of the prompts will automatically fill in for you.
    • For owner, choose your personal account or an organization to host the repository.
    • We recommend creating a public repository, as private repositories will use Actions minutes.
    • Scroll down and click the Create repository button at the bottom of the form.
  3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.

Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License

About

Write your own GitHub JavaScript Action and automate customized tasks unique to your workflow.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks