Repository navigation
ci: fix reusable workflow event_name checks for nightly runs - #8633
Merged
Merged
Conversation
PsiACE
approved these changes
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Follow-up to #8579 and #8577.
Rationale for this change
In GitHub Actions, when a reusable workflow is invoked via
workflow_call,github.event_namepreserves the caller workflow's triggering event name (such asscheduleorworkflow_dispatch), never'workflow_call'.Because
.github/workflows/ci_core.ymlgatedbuild_all_platformswithif: github.event_name == 'workflow_call', the first scheduled Nightly Tier A run (https://github.com/apache/opendal/actions/runs/44934008209) skippedcore / build_all_platforms. Two other reusable workflows (service_test_ghac.ymlandtest_edge_aws_oidc.yml) used the same deadgithub.event_name == 'workflow_call'branch before!github.event.pull_request.head.repo.fork.What changes are included in this PR?
.github/workflows/ci_core.yml: Changebuild_all_platformscondition fromgithub.event_name == 'workflow_call'togithub.event_name != 'pull_request'so it stays skipped on PRs and runs when called bynightly_tier_a.yml..github/workflows/service_test_ghac.yml: Changeghac_v2condition fromgithub.event_name == 'workflow_call' || !github.event.pull_request.head.repo.forktogithub.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork..github/workflows/test_edge_aws_oidc.yml: Apply the same fix totest_s3_aws_assume_role_with_web_identity.Are there any user-facing changes?
None.
Breaking changes
AI Usage Statement
magpie/agy-cli/gemini-4-neon)github.event_name == 'workflow_call'condition bug across reusable workflows, authored the 3-line workflow fix, and opened this PR.