The Wayback Machine - https://web.archive.org/web/20240101023005/https://github.com/skills/write-javascript-actions
Skip to content

skills/write-javascript-actions

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30b086f

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 8, 2022 09:03
March 22, 2023 16:54
September 19, 2023 07:37

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