Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Skip class reference sync and offline docs on forks #10208

Conversation

mhilbrunner
Copy link
Member

@mhilbrunner mhilbrunner commented Nov 5, 2024

Currently, we automatically run scheduled Github actions to sync the class reference for master and to build offline documentation for master, stable and 3.6.

However, this also happens on all forks by default if they have actions enabled, which generates unnecessary notification spam and wastes computing resources needlessly; the large majority of forks are docs contributors unlikely to have any interest in either of these.

With this, scheduled runs are skipped by default on forks. They can be re-enabled by setting repository variables. Manual runs can be triggered as normal and remain unaffected.

@mhilbrunner mhilbrunner added enhancement cherrypick:3.6 github_actions Pull requests that update GitHub Actions code cherrypick:4.3 labels Nov 5, 2024
@mhilbrunner mhilbrunner merged commit 3aa11b7 into godotengine:master Nov 7, 2024
1 check passed
@mhilbrunner mhilbrunner deleted the gh-actions-skip-on-forks-by-default branch November 7, 2024 00:43
@mhilbrunner
Copy link
Member Author

Cherrypicked to 4.3 in #10346.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:3.6 enhancement github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant