Skip to content

Nightly Bump Version Workflow ‐ GitHub Actions Automation

DominicDirkx edited this page Oct 7, 2025 · 2 revisions

This page describes the Nightly bump version workflow implemented for the tudatpy repository to automate the process of bumping the dev version number and releasing a new tudatpy dev conda package.

Workflow execution sequence

  1. Trigger: The workflow is triggered automatically at 05:00 AM CET every day.

  2. Action: After the workflow is triggered, it checks for any new commits on the develop branch of the tudatpy repository in the last 24 hours. If there are new commits detected, the following actions are performed:

    1. Bump version in tudatpy: Bump the dev version number in version and .bumpversion.cfg, create a tag, and push the tag and the bump version commit to the develop branch of the tudatpy repository
    2. Bump dev version in tudatpy-feedstock: Bump the dev version number in meta.yml, create a tag, and push the tag and the bump version commit to the develop branch of the tudatpy-feedstock repository. This commit on the develop branch of tudatpy-feedstock triggers the azure pipelines resulting in the creation of a tudatpy dev conda package with this version number.

Workflow implementation details

  • The workflow is implemented as a GitHub action workflow. It runs automatically every day at a specified time (01:00 AM CET).

  • The workflow lives in the master branch, but performs write actions on the develop branch. This is because GitHub requires scheduled GitHub action workflows to be implemented in the default branch.

  • Personal Access Token: This GitHub Actions workflow uses a personal access token to bump version, create a tag, and push the tag to tudat-feedstock repository. See issue #232 for information on how this token is setup.

  • Issue tracker #232

  • Pull request #246

Clone this wiki locally