Skip to content

Commit

Permalink
Extend checks supported events
Browse files Browse the repository at this point in the history
The checks action should be able to support every pull_request and
pull_request_review events like stated in the documentation.
For example support for some events like pull_request.ready_for_review
was not supported with current implementation.
  • Loading branch information
jeremieguichard committed Feb 27, 2023
1 parent 903d5e8 commit d255dbb
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions lib/actions/checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,8 @@ class Checks extends Action {
constructor () {
super('checks')
this.supportedEvents = [
'pull_request.opened',
'pull_request.edited',
'pull_request_review.submitted',
'pull_request_review.edited',
'pull_request_review.dismissed',
'pull_request.labeled',
'pull_request.milestoned',
'pull_request.demilestoned',
'pull_request.assigned',
'pull_request.unassigned',
'pull_request.unlabeled',
'pull_request.synchronize',
'pull_request.push_synchronize'
'pull_request.*',
'pull_request_review.*'
]
this.checkRunResult = new Map()
}
Expand Down

0 comments on commit d255dbb

Please sign in to comment.