Skip to content

codingpot/github-org-member-manage-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

github-org-member-manage-action

Objective

Mange GitHub org memberships in a declarative way (.yaml). YAML will be the single source of truth for the org memberships.

# members.yaml
org_name: codingpot

admins:
  - kkweon
  - kkweon2

members:
  - deepdiver1
  - deepdiver2

How to use

steps:
  - uses: "codingpot/github-org-member-manage-action@v1"
    with:
      gh_token: ${{ secrets.GH_TOKEN }} # (required) Needs admin:org permission
      members_filepath: members.yaml # (optional)
      dry_run: false # (optional)
      mode: sync # (optional) write or sync