datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
81 stars 12 forks source link

Add 'main' branch to cookiecutter`.github/workflows/main.yml` file #198

Closed fgomez828 closed 2 years ago

fgomez828 commented 3 years ago

Description

Our cookiecutter templates make the .github/workflows/main.yml file available to us by default. This file triggers github actions to run tests for CI. However, on new projects, the master branch has been renamed main. We should include this branch in the list of branches for github to run tests when we push to it or open a PR against it.

Steps to reproduce

fgomez828 commented 3 years ago

It looks like this issue is only relevant for the Django cookiecutter template: https://github.com/datamade/how-to/blob/master/docker/templates/new-django-app/%7B%7Bcookiecutter.app_name%7D%7D/.github/workflows/main.yml