Skip to content

More fiddling with YAML workflow conditions#7537

Merged
eddyashton merged 4 commits intomicrosoft:mainfrom
eddyashton:gha_conditions_no
Dec 17, 2025
Merged

More fiddling with YAML workflow conditions#7537
eddyashton merged 4 commits intomicrosoft:mainfrom
eddyashton:gha_conditions_no

Conversation

@eddyashton
Copy link
Copy Markdown
Member

Added in #7535, looks like they don't work (skipped jobs since this merged).

@eddyashton eddyashton requested a review from a team as a code owner December 17, 2025 15:04
Copilot AI review requested due to automatic review settings December 17, 2025 15:04
@eddyashton eddyashton added the run-long-test Run Long Test job label Dec 17, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts the complex workflow trigger conditions that were introduced in #7535, which didn't work correctly (jobs were being skipped). The changes simplify the label-checking logic back to a straightforward approach.

Key changes:

  • Removed complex conditional logic that attempted to distinguish between labeled and non-labeled actions
  • Reverted to simpler contains() check for label presence across all three workflow files

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/long-verification.yml Simplified trigger conditions to use basic label containment check for run-long-verification label
.github/workflows/long-test.yml Simplified trigger conditions to use basic label containment check for run-long-test label
.github/workflows/bencher-ab.yml Simplified trigger conditions to use basic label containment check for bench-ab label

Comment thread .github/workflows/bencher-ab.yml Outdated
@eddyashton eddyashton changed the title Revert precise YAML workflow conditions More fiddling with YAML workflow conditions Dec 17, 2025
@eddyashton eddyashton enabled auto-merge (squash) December 17, 2025 15:19
@eddyashton eddyashton merged commit 8fc8b9f into microsoft:main Dec 17, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-long-test Run Long Test job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants