https://github.com/kbrashears5/github-action-auto-create-collabs
Github Action to auto create collaboration invites across repositories
https://github.com/kbrashears5/github-action-auto-create-collabs
action auto collaboration collabs create
Last synced: 5 months ago
JSON representation
Github Action to auto create collaboration invites across repositories
- Host: GitHub
- URL: https://github.com/kbrashears5/github-action-auto-create-collabs
- Owner: kbrashears5
- License: mit
- Created: 2020-12-15T02:09:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T21:39:26.000Z (almost 2 years ago)
- Last Synced: 2025-01-03T08:28:21.042Z (6 months ago)
- Topics: action, auto, collaboration, collabs, create
- Language: Shell
- Homepage: https://github.com/kbrashears5/github-action-auto-create-collabs
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-action-auto-create-collabs
Github Action to auto create collaboration invites across repositories[](https://img.shields.io/github/v/release/kbrashears5/github-action-auto-create-collabs)
# Use Cases
Auto create collaboration invites to the users specified to any new or old repositories. Useful for managing a team or for managing a second bot account# Setup
Create a new file called `/.github/workflows/auto-create-collabs.yml` that looks like so:
```yaml
name: Auto Create Collabson:
push:
branches:
- master
schedule:
- cron: 0 0 * * *jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Create Collabs
uses: kbrashears5/[email protected]
with:
REPOSITORIES: |
username/repo@master
USERS: |
octocat
TOKEN: ${{ secrets.ACTIONS }}
```
## Parameters
| Parameter | Required | Description |
| --- | --- | --- |
| REPOSITORIES | true | List of repositories to create invites for. Blank will be all public repositories |
| USERS | true | List of users to invite |
| TOKEN | true | Personal Access Token with Repo scope |