Workflow Default Updates

Hey All,

We are updating the defaults for re-usable workflows that live in the openedx/.github repo. This update will set Python 3.11 as the default python version for some re-usable workflows. If your are using any of the workflows in this pr and are running python at an older or newer version, you should override these settings in your local workflows.

eg. If you have something like:

    uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
    with:
      branch: ${{ github.event.inputs.branch }}
      ...

Update it to:

    uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
    with:
      branch: ${{ github.event.inputs.branch }}
      python_version: "3.8"
      ...

The PR is here: feat: Update default python version for various workflows to 3.11 by feanil · Pull Request #131 · openedx/.github · GitHub

We’ll plan on merging it after 2024-07-12T04:00:00Z

In the future, we’ll try to give more notice for this sort of default change or switch to version releases of the .github repo but for now hopefully a month will be sufficient for maintainers to update any repositories they maintain.

2 Likes