From 593a56762084d73e28d2238e915a67ac18a687f6 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Fri, 24 Feb 2023 23:55:30 +1100 Subject: [PATCH] ci_matrix: fix repository audit skipping (#141781) --- cmd/lib/ci_matrix.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/lib/ci_matrix.rb b/cmd/lib/ci_matrix.rb index 8c2f174d8c..6fde33e7b4 100644 --- a/cmd/lib/ci_matrix.rb +++ b/cmd/lib/ci_matrix.rb @@ -113,7 +113,10 @@ module CiMatrix audit_args << "--new-cask" if changed_files[:added_files].include?(path) audit_exceptions = [] - audit_exceptions << "repository" if labels.include?("ci-skip-repository") + if labels.include?("ci-skip-repository") + audit_exceptions << ["github_repository", "gitlab_repository", + "bitbucket_repository"] + end # TODO: Replace with `except`. audit_args << if labels.include?("ci-skip-appcast")