GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 7-7 lines in 2 locations

src/AbstractWorkflow.php 2 locations

@@ 572-578 (lines=7) @@
569
570
            $globalActions = $wf->getGlobalActions();
571
572
            foreach ($globalActions as $action) {
573
                $transientVars['actionId'] = $action->getId();
574
575
                if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
576
                    $l[] = $action->getId();
577
                }
578
            }
579
580
            foreach ($currentSteps as $step) {
581
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
@@ 629-635 (lines=7) @@
626
            return $l;
627
        }
628
629
        foreach ($actions as $action) {
630
            $transientVars['actionId'] = $action->getId();
631
632
            if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
633
                $l[] = $action->getId();
634
            }
635
        }
636
637
        return $l;
638
    }