Run periodic GitHub actions on upstream repository only #10773

Closed
opened 2025-12-29 21:35:47 +01:00 by adam · 0 comments
Owner

Originally created by @alehaa on GitHub (Feb 16, 2025).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v4.2.3

Feature type

Change to existing functionality

Proposed functionality

The official NetBox repository contains actions to perform certain tasks periodically, such as updating the translations. I suggest restricting these periodic actions to using the official repository only:

if: github.repository == ‘netbox-community/netbox’

An alternative might be to check if the required authentication tokens are available for those cronjob actions, so that forks can still use those actions.

Use case

Actions should be enabled in forks to run test cases. While this is beneficial, periodic actions often send emails, e.g. about missing tokens. Restricting these actions to NetBox upstream would concentrate the actions where they are needed and avoid error messages in forks.

Database changes

None

External dependencies

None

Originally created by @alehaa on GitHub (Feb 16, 2025). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v4.2.3 ### Feature type Change to existing functionality ### Proposed functionality The official NetBox repository contains actions to perform certain tasks periodically, such as updating the translations. I suggest restricting these periodic actions to using the official repository only: ``` if: github.repository == ‘netbox-community/netbox’ ``` An alternative might be to check if the required authentication tokens are available for those cronjob actions, so that forks can still use those actions. ### Use case Actions should be enabled in forks to run test cases. While this is beneficial, periodic actions often send emails, e.g. about missing tokens. Restricting these actions to NetBox upstream would concentrate the actions where they are needed and avoid error messages in forks. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: housekeeping labels 2025-12-29 21:35:47 +01:00
adam closed this issue 2025-12-29 21:35:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10773