diff --git a/.github/workflows/label_when_reviewed_workflow_run.yml b/.github/workflows/label_when_reviewed_workflow_run.yml index e818e8411a311..b84ab34a79ea5 100644 --- a/.github/workflows/label_when_reviewed_workflow_run.yml +++ b/.github/workflows/label_when_reviewed_workflow_run.yml @@ -96,7 +96,7 @@ jobs: env: PR_LABELS: "${{ steps.source-run-info.outputs.pullRequestLabels }}" COMMIT_REF: "${{ steps.source-run-info.outputs.targetCommitSha }}" - run: breeze selective-check --github-event-name "${{ steps.source-run-info.outputs.targetCommitSha }}" + run: breeze selective-check - name: "Label when approved by committers for PRs that require full tests" uses: ./.github/actions/label-when-approved-action id: label-full-test-prs-when-approved-by-commiters diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py index f6727d7a0a8b1..4e07591d5a8b4 100644 --- a/dev/breeze/src/airflow_breeze/global_constants.py +++ b/dev/breeze/src/airflow_breeze/global_constants.py @@ -306,6 +306,7 @@ class GithubEvents(Enum): PULL_REQUEST_TARGET = "pull_request_target" PUSH = "push" SCHEDULE = "schedule" + WORKFLOW_RUN = "workflow_run" @lru_cache(maxsize=None) diff --git a/images/breeze/output-commands-hash.txt b/images/breeze/output-commands-hash.txt index 52b984dfefadc..d5515f5d13aff 100644 --- a/images/breeze/output-commands-hash.txt +++ b/images/breeze/output-commands-hash.txt @@ -2,4 +2,4 @@ # This file is automatically generated by pre-commit. If you have a conflict with this file # Please do not solve it but run `breeze regenerate-command-images`. # This command should fix the conflict and regenerate help images that you have conflict with. -088f01c27036e2230099add63afb5f6e +b669c8a210166579c58f904d9984d739 diff --git a/images/breeze/output-selective-check.svg b/images/breeze/output-selective-check.svg index 3ea08a5bf7a29..67bc6c52533d9 100644 --- a/images/breeze/output-selective-check.svg +++ b/images/breeze/output-selective-check.svg @@ -19,113 +19,113 @@ font-weight: 700; } - .terminal-3258521135-matrix { + .terminal-417995322-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3258521135-title { + .terminal-417995322-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3258521135-r1 { fill: #c5c8c6;font-weight: bold } -.terminal-3258521135-r2 { fill: #c5c8c6 } -.terminal-3258521135-r3 { fill: #d0b344;font-weight: bold } -.terminal-3258521135-r4 { fill: #868887 } -.terminal-3258521135-r5 { fill: #68a0b3;font-weight: bold } -.terminal-3258521135-r6 { fill: #8d7b39 } -.terminal-3258521135-r7 { fill: #98a84b;font-weight: bold } + .terminal-417995322-r1 { fill: #c5c8c6;font-weight: bold } +.terminal-417995322-r2 { fill: #c5c8c6 } +.terminal-417995322-r3 { fill: #d0b344;font-weight: bold } +.terminal-417995322-r4 { fill: #868887 } +.terminal-417995322-r5 { fill: #68a0b3;font-weight: bold } +.terminal-417995322-r6 { fill: #8d7b39 } +.terminal-417995322-r7 { fill: #98a84b;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - Command: selective-check + Command: selective-check - + - - -Usage: breeze selective-check [OPTIONS] - -Checks what kind of tests should be run for an incoming commit. - -╭─ Selective check flags ──────────────────────────────────────────────────────────────────────────────────────────────╮ ---commit-refCommit-ish reference to the commit that should be checked(TEXT) ---pr-labelsSpace-separate list of labels which are valid for the PR(TEXT) ---default-branchBranch against which the PR should be run(TEXT)[default: main] ---github-event-nameName of the GitHub event that triggered the check                            -(pull_request | pull_request_review | pull_request_target | push | schedule) -[default: pull_request]                                                      -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---verbose-vPrint verbose information about performed steps. ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ + + +Usage: breeze selective-check [OPTIONS] + +Checks what kind of tests should be run for an incoming commit. + +╭─ Selective check flags ──────────────────────────────────────────────────────────────────────────────────────────────╮ +--commit-refCommit-ish reference to the commit that should be checked(TEXT) +--pr-labelsSpace-separate list of labels which are valid for the PR(TEXT) +--default-branchBranch against which the PR should be run(TEXT)[default: main] +--github-event-nameName of the GitHub event that triggered the check                                           +(pull_request | pull_request_review | pull_request_target | push | schedule | workflow_run) +[default: pull_request]                                                                     +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--verbose-vPrint verbose information about performed steps. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯