Skip to content

Conversation

@Gee307
Copy link

@Gee307 Gee307 commented Dec 23, 2025

Description

What is this PR

  • Bug fix

Why is this PR needed?
This repository is a cookiecutter template, but the docs build workflow hard-codes the neuroinformatics-unit organization. This prevents scheduled workflows from running correctly for downstream users who generate projects from this template.

What does this PR do?
Removes the hard-coded organization check from the GitHub Actions condition and instead restricts scheduled runs to the main branch only. This preserves safety while making the workflow reusable for any repository owner.

References

Fixes #125

How has this PR been tested?

The change is limited to a GitHub Actions conditional. The logic was verified by inspecting the workflow condition and ensuring it behaves identically for non-scheduled events while enabling scheduled runs for downstream repositories.

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

  • The code has been tested locally
  • The code has been formatted with pre-commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NIU organisation is hard coded in website build action

1 participant