Skip to content

Commit

Permalink
release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-actions-bot committed Oct 26, 2022
1 parent 673c23f commit ccf5443
Show file tree
Hide file tree
Showing 25 changed files with 43 additions and 3,513 deletions.
18 changes: 0 additions & 18 deletions .editorconfig

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/auto-assign.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/release.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

27 changes: 0 additions & 27 deletions .prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

59 changes: 0 additions & 59 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions dist/action.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare function run(): Promise<void>;
1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
8 changes: 8 additions & 0 deletions dist/index.js
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 added dist/index.js.cache
Binary file not shown.
7 changes: 7 additions & 0 deletions dist/index.js.cache.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions dist/inputs.d.ts
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>;
13 changes: 13 additions & 0 deletions dist/util.d.ts
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;
87 changes: 0 additions & 87 deletions src/action.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/index.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/inputs.ts

This file was deleted.

Loading

0 comments on commit ccf5443

Please sign in to comment.