We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b9de7 commit f91826eCopy full SHA for f91826e
1 file changed
src/index.ts
@@ -10,6 +10,9 @@ const prNumber: number = parseInt(core.getInput('PR_NUMBER') || (process.env.PR_
10
const org: string = core.getInput('GITHUB_ORG') || (process.env.GITHUB_ORG as string);
11
const repo: string = core.getInput('GITHUB_REPOSITORY') || (process.env.GITHUB_REPOSITORY as string);
12
13
+// We'll need to parse the repo variable to remove the owner and the / from the string
14
+const repoName = repo.split('/')[1];
15
+
16
async function main() {
17
const PR = await getSinglePR(org, repo, prNumber);
18
const assertion = await getAssertion(PR?.body ?? '');
0 commit comments