conda / infrastructure

A repo to report issues and have discussions about the conda infrastructure
BSD 3-Clause "New" or "Revised" License
11 stars 15 forks source link

Add `update.yml` workflow (and initializing workflow `init.yml`) #937

Open kenodegard opened 2 months ago

kenodegard commented 2 months ago

Description

Introducing a replacement to the sync.yml workflow. Instead of pushing changes from a centralized location we empower individual repos to pull the files they wish to use (these can even be pulled from any repository, not just conda/infrastructure).

This workflow has been implemented and tested in the conda-sandbox:

Since the workflow is now a pull process instead of a push process we need to also offer a means of initializing a repository. This is done using the new manually triggered init.yml workflow and allows us to specify where to push the update.yml workflow. The init.yml workflow can also be used to "repair" the update.yml script if ever a broken instance is distributed.

Depends on https://github.com/conda/governance/pull/146 Resolves https://github.com/conda/infrastructure/issues/678 Resolves https://github.com/conda/infrastructure/issues/699