-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wow-actions-bot
committed
Oct 26, 2022
1 parent
673c23f
commit ccf5443
Showing
25 changed files
with
43 additions
and
3,513 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare function run(): Promise<void>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); | ||
const basename = __dirname + '/index.js'; | ||
const source = readFileSync(basename + '.cache.js', 'utf-8'); | ||
const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); | ||
const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } | ||
const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); | ||
(script.runInThisContext())(exports, require, module, __filename, __dirname); | ||
if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export declare function getInputs(): { | ||
skipDraft: boolean; | ||
addReviewers: boolean; | ||
addAssignees: string | boolean; | ||
reviewers: string[]; | ||
assignees: string[]; | ||
numberOfAssignees: number; | ||
numberOfReviewers: number; | ||
skipKeywords: string[]; | ||
includeLabels: string[]; | ||
excludeLabels: string[]; | ||
}; | ||
export declare type Inputs = ReturnType<typeof getInputs>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Inputs } from './inputs'; | ||
export declare function getOctokit(): import("@octokit/core").Octokit & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { | ||
paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; | ||
}; | ||
export declare function isValidEvent(event: string, action?: string | string[]): boolean | "" | undefined; | ||
export declare function hasSkipKeywords(title: string, keywords: string[]): boolean; | ||
export declare function chooseReviewers(owner: string, inputs: Inputs): { | ||
reviewers: string[]; | ||
teamReviewers: string[]; | ||
}; | ||
export declare function chooseAssignees(owner: string, inputs: Inputs): string[]; | ||
export declare function hasAnyLabel(labels: string[]): boolean; | ||
export declare function skip(msg: string): void; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.