DavideViolante/pr-automerge-action

View on GitHub

Showing 1 of 3 total issues

Function main has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function main() {
  try {
    const mergeMethod = core.getInput('merge-method');
    const minApprovals = core.getInput('min-approvals');
    const baseRef = core.getInput('base-ref');
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language