mirror of
https://github.com/bahdotsh/wrkflw.git
synced 2026-08-29 10:09:25 +02:00
Add missing triggers
Update with triggers taken from https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
This commit is contained in:
@@ -3,22 +3,38 @@ use serde_yaml::Value;
|
||||
|
||||
pub fn validate_triggers(on: &Value, result: &mut ValidationResult) {
|
||||
let valid_events = vec![
|
||||
"push",
|
||||
"pull_request",
|
||||
"workflow_dispatch",
|
||||
"schedule",
|
||||
"repository_dispatch",
|
||||
"branch_protection_rule",
|
||||
"check_run",
|
||||
"check_suite",
|
||||
"create",
|
||||
"delete",
|
||||
"deployment",
|
||||
"deployment_status",
|
||||
"discussion",
|
||||
"discussion_comment",
|
||||
"fork",
|
||||
"gollum",
|
||||
"issue_comment",
|
||||
"issues",
|
||||
"label",
|
||||
"merge_group",
|
||||
"milestone",
|
||||
"page_build",
|
||||
"project",
|
||||
"project_card",
|
||||
"public",
|
||||
"pull_request",
|
||||
"pull_request_comment (use issue_comment)",
|
||||
"pull_request_review",
|
||||
"pull_request_review_comment",
|
||||
"pull_request_target",
|
||||
"push",
|
||||
"registry_package",
|
||||
"release",
|
||||
"repository_dispatch",
|
||||
"schedule",
|
||||
"status",
|
||||
"watch",
|
||||
"workflow_call",
|
||||
"workflow_dispatch",
|
||||
"workflow_run",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user