Skip to content

v1.1.0

Latest

Choose a tag to compare

@somework somework released this 01 Oct 17:18

Runs lockrot 0.13.0. Read the first two entries if your workflow passes args or publishes the report outside the repository. Inputs and outputs are unchanged. The full list is in the 0.13.0 release notes.

Changed

  • Breaking: a misspelt option or a missing value in args, or an invalid LOCKROT_FAIL_ON or LOCKROT_TARGET_PHP in the job's environment, fails the step with exit 2 instead of 1, so exit-code no longer reads it as a finding. Action: fix the option or the variable.
  • Breaking: format: json and format: html reports carry run.root_package, the name in composer.json, even when extra.lockrot.project renames the project. Action: if you publish the report outside the repository and the name must stay private, remove it first.
  • A report quotes no credential and no path of the runner: URLs lose their login and token, and a path keeps its last segment. Reports written by earlier versions could carry both.
  • With COMPOSER set in the job's environment, lockrot reads that manifest and its lock, as Composer does.
  • An extra.lockrot key lockrot does not read gets a warning line in the log, naming the key it was probably meant to be.
  • format: html is the lockrot-report 0.13.0 page.
  • format: json gains fields that state lockrot's decisions, among them gate (whether the run fails), priority_basis and origin; the JSON schemas list them all.