Skip to content

Commit

Permalink
fix(enterprise): add pull-request-closed as trigger event
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Sep 15, 2020
1 parent dae491e commit b1ef26b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions core/src/config/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ export const triggerEvents = [
"pull-request",
"pull-request-created",
"pull-request-updated",
"pull-request-opened",
"pull-request-closed",
"release",
"release-published",
"release-unpublished",
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -1241,9 +1241,9 @@ workflowConfigs:
#
# Supported events:
#
# `create`, `pull-request`, `pull-request-created`, `pull-request-updated`, `push`, `release`,
# `release-created`, `release-deleted`, `release-edited`, `release-prereleased`, `release-published`,
# `release-unpublished`
# `create`, `pull-request`, `pull-request-closed`, `pull-request-created`, `pull-request-opened`,
# `pull-request-updated`, `push`, `release`, `release-created`, `release-deleted`, `release-edited`,
# `release-prereleased`, `release-published`, `release-unpublished`
#
#
events:
Expand Down
7 changes: 4 additions & 3 deletions docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,9 @@ triggers:
#
# Supported events:
#
# `create`, `pull-request`, `pull-request-created`, `pull-request-updated`, `push`, `release`, `release-created`,
# `release-deleted`, `release-edited`, `release-prereleased`, `release-published`, `release-unpublished`
# `create`, `pull-request`, `pull-request-closed`, `pull-request-created`, `pull-request-opened`,
# `pull-request-updated`, `push`, `release`, `release-created`, `release-deleted`, `release-edited`,
# `release-prereleased`, `release-published`, `release-unpublished`
#
#
events:
Expand Down Expand Up @@ -1355,7 +1356,7 @@ A list of [GitHub events](https://docs.github.com/en/developers/webhooks-and-eve

Supported events:

`create`, `pull-request`, `pull-request-created`, `pull-request-updated`, `push`, `release`, `release-created`, `release-deleted`, `release-edited`, `release-prereleased`, `release-published`, `release-unpublished`
`create`, `pull-request`, `pull-request-closed`, `pull-request-created`, `pull-request-opened`, `pull-request-updated`, `push`, `release`, `release-created`, `release-deleted`, `release-edited`, `release-prereleased`, `release-published`, `release-unpublished`



Expand Down

0 comments on commit b1ef26b

Please sign in to comment.