Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.48 KB

File metadata and controls

32 lines (20 loc) · 1.48 KB

github-actions-workflows

Examples of GitHub Actions Workflows and Actions for various use cases

Workflows

Run Workflow for specific Comment on Pull Request

Workflow: deploy-on-comment.yml

Event: issue_comment

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.

Run Workflow on Issue or Pull Request or Comment

Workflow: issue-pr-comment.yml

Event: issues, pull_request, issue_comment

Run the workflow when an issue or pull request is opened or when a comment is made on an issue or pull request.

Create an issue or pull request, or comment on an issue or pull request to see the workflow run. Then, go to the Actions tab to see the workflow run.

Actions

Write GitHub Event to Workflow Summary

Action: event-summary

Write the GitHub event to the workflow summary. See the following links for more information: