fix(ci): narrow issue lifecycle review events
This commit is contained in:
@@ -125,7 +125,7 @@ describe('Issue lifecycle workflow', () => {
|
||||
expect(lifecyclePullRequest.types).toContain('review_requested')
|
||||
expect(lifecycleReview.types).toEqual(['submitted'])
|
||||
expect(lifecycleJob.if).toBe(
|
||||
"${{ github.event_name != 'pull_request_review' || github.event.review.state == 'changes_requested' }}",
|
||||
"${{ github.event_name != 'pull_request_review' || (github.event.action == 'submitted' && github.event.review.state == 'changes_requested') }}",
|
||||
)
|
||||
expect(policyPullRequest.types).toContain('ready_for_review')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user