Closed niketagrawal closed 1 month ago
Warnings for this workflow
From the GitHub documentation, workflows that run on a trigger of type schedule
(e.g. every night at 3 am) have the following constraints:
In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days. For information on re-enabling a disabled workflow, see "Disabling and enabling a workflow."
This warrants no action from our side, but it's good to keep it in mind. Tudat and tudatpy are both very active repos so I don't expect a problem.
When the last user to commit to the cron schedule of a workflow is removed from the organization, the scheduled workflow will be disabled. If a user with write permissions to the repository makes a commit that changes the cron schedule, the scheduled workflow will be reactivated. Note that, in this situation, the workflow is not reactivated by any change to the workflow file; you must alter the cron value and commit this change.
Since @niketagrawal and myself will leave the project at some point, it would be best for @DominicDirkx to make a change to the cron trigger in the workflow file to prevent the workflow from being disabled.
This GitHub actions workflow runs daily at 3:00 AM and does the following if there has been new commit(s) on the develop branch of tudat in the last 24 hours:
version
and.bumpversion.cfg
will be bumped by 1. This will result in a new commit.This workflow must be present in the master branch because scheduled workflows run only on the default branch, so the PR is opened towards master. This version does not make any changes to the master branch of tudat and tudat-feedstock though. This is controlled by specifying the checkout of develop branch in the workflow. This ensures that the bump version action will be performed on the develop branches.
This pull request should be merged after the changes in the branch https://github.com/tudat-team/tudat-feedstock/tree/11-add-bumpversion-cfg are merged in the develop branch of tudat-feedstock, so the bumpversion operation can be performed successfully in tudat0feedstock.
To do