Skip to content

Commit

Permalink
Chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Jun 28, 2020
1 parent a516df2 commit 8157ae2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: publish tool
name: release

on:
push:
Expand Down
38 changes: 31 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,43 @@
# github-org-sync
![ci](https://github.com/hostwithquantum/github-org-sync-action/workflows/ci/badge.svg) ![release](https://github.com/hostwithquantum/github-org-sync-action/workflows/release/badge.svg)

A tool to sync files from a skeleton/template repository to other repositories in your organization.
# github-org-sync(-action)

`github-org-sync` is a little tool to sync files from a skeleton/template repository to other repositories in your organization. It works within a single organization, but of course it can be used multiple times.

Inspiration from:
- https://github.com/cloudalchemy/auto-maintenance
- https://github.com/prometheus/prometheus/blob/master/scripts/sync_repo_files.sh

# Status
### Status

We currently provide a tool (written in Golang) to do the syncing. We sync files from `.github/workflows` only, more files/directories are planned and will be added when time permits.

The goal is to offer a GitHub Action as well.

## Getting it

All releases are done using the amazing `goreleaser` in a release workflow in this repository. The workflow validates and builds binaries for different OS' and architectures and a Docker image (amd64) as well.

### Installing

You may download a release for Mac, Linux or Windows here:
- https://github.com/hostwithquantum/github-org-sync-action/releases

To use the Docker image, please follow this link:
- https://github.com/hostwithquantum/github-org-sync-action/packages

Otherwise: `make dev` to build a snapshot.

### Configuration

Currently, this repository contains a little tool written in Golang to do the syncing. The goal is to offer a GitHub Action as well.
- `github-org-sync` uses environment variables. There is nothing else currently.
- See [.envrc-dist](.envrc-dist) for necessary configuration.
- Please note that, `GITHUB_ACCESS_TOKEN` **requires** full repo scope, in order to create branches, push them and open pull-requests.

# Configuration
# Author

See [.envrc-dist](.envrc-dist) for necessary configuration.
[Planetary Quantum GmbH](https://www.planetary-quantum.com) — come check us out. :rocket: :)

# License
## License

BSD-2-Clause ("Simplified BSD License")

0 comments on commit 8157ae2

Please sign in to comment.