-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: publish tool | ||
name: release | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |