/
How to Enable Semantic Release through Github Actions

How to Enable Semantic Release through Github Actions

As we have transitioned from Travis CI to GH Actions, this page will guide you on how you can add the semantic release functionality to your repository. If you are an edX employee and would like to migrate the tests please refer to https://openedx.atlassian.net/wiki/spaces/SRE/pages/2038792440 .

Instructions

  • Create a new yaml file with the following path structure .github/workflows/ci.yml. This file will most likely look like ci.yml file

  • Create a new yaml file with the following path structure .github/workflows/release.yml. This file will most likely look like release.yml file

  • The following encrypted secrets are available org-wide:

    • DOCKERHUB_USERNAME

    • DOCKERHUB_PASSWORD

    • PYPI_UPLOAD_TOKEN

    • SEMANTIC_RELEASE_NPM_TOKEN

    • SEMANTIC_RELEASE_GITHUB_TOKEN

  • The ci check will run against the PR or the subsequent pushes to the PR, and once you merge it to master the release check will run on the master branch of your repository

 

 

 

Related content

Hosting edX in Production
Hosting edX in Production
Read with this
Switching a repository from TravisCI to GitHub Actions
Switching a repository from TravisCI to GitHub Actions
More like this
Open edX Installation Options
Open edX Installation Options
Read with this
How to enable dependabot for Github actions' version updates
How to enable dependabot for Github actions' version updates
More like this
GitHub Actions Best Practices
GitHub Actions Best Practices
More like this
Process to Create an Open edX Release
Process to Create an Open edX Release
More like this