The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-registry-workflow-call-gate has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
acff07bdac49d9e840b3384c61d2e799c4e682a8 / Kaxil Naik <[email protected]>
Fix registry publish silently skipping for some docs publishers

`registry-build.yml` gated both of its jobs on
`github.event_name == 'workflow_call' || <committer allowlist>`, intending to
skip the allowlist check when another workflow calls it. That disjunct never
fires: the `github` context in a called workflow is the caller's, so
`github.event_name` reports the caller's event (`workflow_dispatch`), not
`workflow_call`. The same rule is why `github.event.sender.login` resolves to
the caller's dispatcher here in the first place.

The effect is that the allowlist in this file is enforced on the
`workflow_call` path too, against a copy that has drifted from the one on
`build-info` in `publish-docs-to-s3.yml`. That list also has `vatsrahul1001`,
who publishes docs regularly, so a provider wave they dispatch would publish
the docs and silently skip the registry update.

Replace the check with an input declared only under `workflow_call`, which is
the reliable way to tell the entry points apart, and let the caller's own
allowlist stand rather than re-checking against a second copy that has to be
kept in sync by hand.

Report URL: https://github.com/apache/airflow/actions/runs/30443012509

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to