template-fastapi-react icon indicating copy to clipboard operation
template-fastapi-react copied to clipboard

ci: refer to default branch instead of hard-coded branch name

Open olavis opened this issue 2 years ago • 0 comments

Describe Problem

The default branch is hard-coded in some of the workflows in the template - branches: - main. Some users of the template might wan't to use master (or other) instead of main, and it would be nice if github actions just worked regardless.

Suggest Changes

In github actions, use [ $default-branch ] to refer to the default branch in the repo.

olavis avatar Feb 23 '23 13:02 olavis