Allow for user projects

This commit is contained in:
Jonathan Clem
2022-01-31 14:13:35 -05:00
parent 078fd9f744
commit 902f1883f1
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@@ -40,7 +40,7 @@ const core = __importStar(__nccwpck_require__(2186));
const github = __importStar(__nccwpck_require__(5438));
// TODO: Ensure this (and the Octokit client) works for non-github.com URLs, as well.
// https://github.com/orgs/<orgName>/projects/<projectNumber>
const urlParse = /^(?:https:\/\/)?github\.com\/orgs\/(?<orgName>[^/]+)\/projects\/(?<projectNumber>\d+)/;
const urlParse = /^(?:https:\/\/)?github\.com\/orgs|users\/(?<orgName>[^/]+)\/projects\/(?<projectNumber>\d+)/;
function run() {
var _a, _b, _c, _d, _e, _f;
return __awaiter(this, void 0, void 0, function* () {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long