Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def workflow_auto_triggers_on_pull_request(trigger_conditions: list) -> bool:
# request/issue actions.
automatic_triggers = {
"issue_comment", # this can sometimes require a GitHub token stored in an env var
"pull_request",
"pull_request_comment", # this is deprecated and replaced by "issue_comment", but GitHub still allows it to be used
"pull_request_review",
"pull_request_review_comment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_workflow_auto_triggers_on_pull_request_one_automatic_trigger_exists():
trigger_conditions = [
"schedule",
"workflow_dispatch",
"pull_request",
"pull_request_target",
]
workflow_contains_auto_triggers = workflow_auto_triggers_on_pull_request(
trigger_conditions
Expand Down