mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Remove change on core
This commit is contained in:
@@ -62,13 +62,16 @@ async function getPRDetails(github, core, owner, repo, pull_number) {
|
||||
};
|
||||
}
|
||||
|
||||
let LIMIT_FILE_CHANGED;
|
||||
let LIMIT_LINES_CHANGED;
|
||||
|
||||
module.exports = async ({ core, github, context, fileChangedLimit = 5, linesChangedLimit = 50 }) => {
|
||||
const owner = context.repo.owner;
|
||||
const repo = context.repo.repo;
|
||||
const pull_number = context.payload.pull_request.number;
|
||||
|
||||
const LIMIT_FILE_CHANGED = fileChangedLimit;
|
||||
const LIMIT_LINES_CHANGED = linesChangedLimit;
|
||||
LIMIT_FILE_CHANGED = fileChangedLimit;
|
||||
LIMIT_LINES_CHANGED = linesChangedLimit;
|
||||
|
||||
core.info(`Getting PR details for ${owner}/${repo}#${pull_number}`);
|
||||
core.info(`Limit for files changed: ${fileChangedLimit}`);
|
||||
|
||||
Reference in New Issue
Block a user