We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445a6d2 commit 148b1cbCopy full SHA for 148b1cb
src/github.ts
@@ -26,8 +26,8 @@ export const getContext = async (): Promise<Context> => {
26
27
const getRepo = () => {
28
const [owner, repo] = getEnv('GITHUB_REPOSITORY').split('/')
29
- assert(owner, 'GITHUB_REPOSITORY owner is required')
30
- assert(repo, 'GITHUB_REPOSITORY repo is required')
+ assert(owner, 'GITHUB_REPOSITORY must have an owner part')
+ assert(repo, 'GITHUB_REPOSITORY must have a repo part')
31
return { owner, repo }
32
}
33
0 commit comments