Skip to content

Fixes bug caused by `changes:` array

Laura Montemayor requested to merge fix-clause-changes into master

What does this MR do and why?

Fixes a bug introduced in: !90171 (merged) that caused TypeError: no implicit conversion of Symbol into Integer. The bug occurred when giving an array of filenames to changes without the path keyword, like so :

test1:
  script: exit 0
  rules:
    - changes:
      - README.md

#366923 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Laura Montemayor

Merge request reports

Loading