Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prodyna/invite-to-org
GitHub Action to invite users from one org to another org automatically
https://github.com/prodyna/invite-to-org
docker github github-actions go
Last synced: about 1 month ago
JSON representation
GitHub Action to invite users from one org to another org automatically
- Host: GitHub
- URL: https://github.com/prodyna/invite-to-org
- Owner: PRODYNA
- License: mit
- Created: 2024-03-14T13:30:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T13:20:48.000Z (9 months ago)
- Last Synced: 2024-04-19T14:41:47.494Z (9 months ago)
- Topics: docker, github, github-actions, go
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GitHub Action for automatically inviting usrs
Users from one organization are automatically invited to another organization.
## Usage
```yaml
jobs:
invite-to-org:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: truesteps:
- name: Invite to organization
uses: prodyna/[email protected]
with:
# The GitHub Token to use for authentication, it needs permissions to read member in source-org and invite them to the target-org
github-token: ${{ secrets.INVITE_TOKEN }}
# The enterprise to which the source and target organizations belong
enterprise: "prodyna"
# The source organization from which to invite members
source-organization: "prodyna"
# The target organization to which to invite members
target-organization: "prodyna-yasm"
# No dry-run
dry-run: false
# Info level
verbose: 3
# The team to which to invite members
team: yasm-all
```In this case all members of the organization `prodyna` are invited to the organization `prodyna-yasm` in the team `yasm-all`.