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 79c67ac commit e0e655cCopy full SHA for e0e655c
.github/actions/fix/src/fixIssue.ts
@@ -4,7 +4,7 @@ import type { Octokit } from '@octokit/core';
4
export async function fixIssue(octokit: Octokit, repoWithOwner: string, issueUrl: string) {
5
const owner = repoWithOwner.split('/')[0];
6
const repo = repoWithOwner.split('/')[1];
7
- const issueNumber = issueUrl.split('/').pop();
+ const issueNumber = Number(issueUrl.split('/').pop());
8
// Check whether issues can be assigned to Copilot
9
const suggestedActorsResponse = await octokit.graphql<{
10
repository: {
0 commit comments