diff --git a/.github/workflows/rerun-workflow.yml b/.github/workflows/rerun-workflow.yml index 6f6993a3e4..9d0c8879b6 100644 --- a/.github/workflows/rerun-workflow.yml +++ b/.github/workflows/rerun-workflow.yml @@ -26,6 +26,7 @@ jobs: github.event.label.name == 'ci-retry' || github.event.label.name == 'ci-skip-appcast' || github.event.label.name == 'ci-skip-install' || + github.event.label.name == 'ci-skip-livecheck' || github.event.label.name == 'ci-syntax-only' || !github.event.label.name ) @@ -37,5 +38,5 @@ jobs: token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} once-label: ci-requeue continuous-label: ci-retry - trigger-labels: ci-skip-appcast,ci-skip-install,ci-syntax-only + trigger-labels: ci-skip-appcast,ci-skip-install,ci-skip-livecheck,ci-syntax-only workflow: ci.yml diff --git a/cmd/lib/ci_matrix.rb b/cmd/lib/ci_matrix.rb index 6fde33e7b4..2d0a575205 100644 --- a/cmd/lib/ci_matrix.rb +++ b/cmd/lib/ci_matrix.rb @@ -125,6 +125,10 @@ module CiMatrix "--appcast" end + if labels.include?("ci-skip-livecheck") + audit_exceptions << ["hosting_with_livecheck", "livecheck_version", "livecheck_min_os"] + end + audit_args << "--except" << audit_exceptions.join(",") if audit_exceptions.any? runners(path).map do |runner|