ci_matrix: fix repository audit skipping (#141781)

This commit is contained in:
Bevan Kay
2023-02-24 20:55:30 +08:00
committed by GitHub
parent 7e3af1dafc
commit 593a567620
+4 -1
View File
@@ -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")