How to write a GitHub Action
Building your own GitHub Action.
GitHub Actions are small, reusable modules of functionality that can participate in GitHub Workflows. You can add a GitHub workflow yaml file to any GitHub repo, and have it run in response to events like code pushes, pull requests - even arbitrary events posted to the repository’s repository_dispatch
REST endpoint over the GitHub API.