Skip to content

Commit

Permalink
update wording
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Aug 29, 2023
1 parent 522bc47 commit b7571f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions __tests__/functions/prechecks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2154,15 +2154,15 @@ test('runs prechecks and finds that no ci checks are defined and skip_reviews is
)
).toStrictEqual({
message:
'✅ CI have not been defined and required reviewers have been disabled for this environment',
'✅ CI checks have not been defined and required reviewers have been disabled for this environment',
noopMode: false,
ref: 'test-ref',
status: true,
sha: 'abc123'
})

expect(infoMock).toHaveBeenCalledWith(
'✅ CI have not been defined and required reviewers have been disabled for this environment'
'✅ CI checks have not been defined and required reviewers have been disabled for this environment'
)
})

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/functions/prechecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export async function prechecks(
// CI checks have not been defined and reviews are set to be bypassed
} else if (commitStatus === null && reviewDecision === 'skip_reviews') {
message =
'✅ CI have not been defined and required reviewers have been disabled for this environment'
'✅ CI checks have not been defined and required reviewers have been disabled for this environment'
core.info(message)

// CI checks are set to be bypassed and the pull request is approved
Expand Down

0 comments on commit b7571f5

Please sign in to comment.