nvda
4e5f76a6 - Improve CI docs and modularity for forking (#19254)

Commit
37 days ago
Improve CI docs and modularity for forking (#19254) Fixes #19197 Summary of the issue: This pull request primarily introduces early exit checks to several GitHub Actions workflows to prevent them from running when required secrets or variables are missing. It also improves email notification configuration and documentation for CI workflows. Additionally, it removes the unused issue duplication workflow (to be replaced) and makes a minor adjustment to the static analysis configuration. Description of user facing changes: None Description of developer facing changes: Improved default behaviour for forks: workflows with unset variables will be cancelled rather than failing. Updated .github/workflows/monitor-localisation-file-changes.yml to use secret values for email server address and port, allowing for more flexible and secure email notifications. Added documentation to ci/README.md explaining how to enable email notifications and milestone assignment workflows by setting the appropriate secrets and variables. Description of development approach: Added early exit steps to .github/workflows/assign-milestone-on-close.yml, .github/workflows/fetch-crowdin-translations.yml, .github/workflows/monitor-localisation-file-changes.yml, and .github/workflows/regenerate_english_userDocs_translation_source.yml to cancel workflows if required secrets or variables are not set, preventing unnecessary runs and failures Removed the unused .github/workflows/issueDuplication.yml workflow, simplifying the repository's workflow configuration. Removed reportShadowedImports = true from pyproject.toml, as the option is removed.
Author
Parents
Loading