GithubHelp home page GithubHelp logo

bradley39e / github-organization-automation-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petermetz/github-organization-automation-tool

0.0 0.0 0.0 4.3 MB

The GitHub Organization Automation Tool (GOAT) is a tool to automate tedious manual tasks related to organization management through the GitHub API.

License: Apache License 2.0

JavaScript 0.40% TypeScript 96.50% Dockerfile 3.11%

github-organization-automation-tool's Introduction

github-organization-automation-tool

GOAT is a tool to automate tedious manual tasks related to organization management through the GitHub API.

Usage

npm

npm i -g github-organization-automation-tool

Docker

docker run \
  --rm \
  --env GITHUB_TOKEN=$YOUR_TOKEN \
  petermetz/github-organization-automation-tool:main \
  sync-owners \
  hyperledger-cicd \
  besu \
  main \
  OWNERS.yaml

Sync Group Memberships from OWNERS.yaml to GitHub Organization

This example syncs the OWNERS.yaml file's contents in the GitHub org and the repository. The OWNERS.yaml file will be located on the branch main. If you omit the last two arguments these will be the defaulted values as well.

GITHUB_TOKEN=$YOUR_TOKEN npx github-organization-automation-tool sync-owners your-organization-name your-repository-name main OWNERS.yaml

Building Container Image Locally

DOCKER_BUILDKIT=1 docker build -f ./Dockerfile . -t goat

Testing the CLI Locally

Terminal #1

npm run watch:build

Terminal #2

GITHUB_TOKEN=$YOUR_TOKEN \
./bin/github-organization-automation-tool \
   sync-owners \
   hyperledger-cicd \
   besu \
   main \
   OWNERS.yaml

github-organization-automation-tool's People

Contributors

petermetz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.