rusackas opened a new pull request, #40533: URL: https://github.com/apache/superset/pull/40533
### SUMMARY - Adds a repository-origin guard to `.github/workflows/superset-docs-deploy.yml` so that `workflow_run`-triggered builds only proceed when the triggering run originated from this repository. - `push` and `workflow_dispatch` triggers are unaffected. ### CHANGE The `build-deploy` job's `if` condition now includes: ``` github.event.workflow_run.head_repository.full_name == github.repository ``` This ensures that when the workflow fires via `workflow_run`, the triggering run must have come from `apache/superset` itself rather than an external fork. ### TESTING INSTRUCTIONS - [ ] Verify that a direct `push` to `master` docs paths still triggers a successful deployment - [ ] Verify that `workflow_dispatch` still works - [ ] Verify that an integration test run from `master` still triggers the docs deployment - [ ] Confirm that a `workflow_run` event from a fork does not proceed past the `build-deploy` `if` check (the job shows as skipped) ### ADDITIONAL INFORMATION - [ ] Has associated issue - [ ] Required feature flags: none - [ ] Changes UI: no - [ ] Includes DB Migration: no - [ ] Introduces new feature or API: no - [ ] Removes existing feature or API: no 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
