astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 63 forks source link

private_project cookiecutter question #481

Closed nstarman closed 3 years ago

nstarman commented 3 years ago

On private repositories, every PR is build twice by the CI: once for the branch and once for the PR. This changes it so that PRs are only built once, but still allows the master branch to be built after a PR. Other branches are not built unless in a PR.

This option makes it easier to do code-dev on a project before taking it public. I have added instructional docs about how to un-implement the private-repo options and take a project public.

In future, when further private-project options are added, they can be similarly documented.

Signed-off-by: Nathaniel Starkman nstarkman@protonmail.com

nstarman commented 3 years ago

~I need to add this to the changelog~

@Cadair , ready for review.

nstarman commented 3 years ago

@Cadair , squashed and passing.

nstarman commented 3 years ago

Now that we don't use travis for CI, this PR request doesn't do anything.