How To Enable Python Upgrade Automation#
This How-to will walk you through the process of getting the automated Python requirements upgrade jobs setup on a repository.
Assumptions#
You know how to use Git and GitHub PR Workflows.
You have
admin
access to the repository.
Steps#
Replace
<repo_name>
with the name of your repository in the following URL and go to it:https://github.com/openedx/<repo_name>/actions/new?category=owner
Click Configure on the
Python Requirements Upgrade Workflow
card.Review the contents of the GitHub action, make any changes that you might want to make. If you’re not sure, the defaults work fine for most use cases.
If you are applying changes to a newer repo, you may have
main
as your default branch instead ofmaster
. In which case you should update the workflow.
Commit the changes to a branch and get the PR reviewed and merged.
Next, add the edx-requirements-bot team to your repository with
write
permissions. It will be at the following url with<repo_name>
replaced with your actual repository name.https://github.com/openedx/<repo_name>/settings/access