Examples of GitHub Actions and Workflows for typical use cases.
Feel free to submit a PR to add your own examples.
-
tj-actions/changed-files: Get the list of changed files in a pull request
-
wearerequired/lint-action: Run linters like ESLint and TypeScript.
Workflow: comment-on-pull-request.yml
Run the workflow when a specific comment is made on a pull request. The workflow will only run if the comment contains the string /deploy
.
See this PR for an example.