Skip to content

Commit

Permalink
fix: docs and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Oct 19, 2024
1 parent 68f5a04 commit 3421bf6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ send webhooks to this app to run github user management

## Developer setup

- create a github organization for testing
- [create a PAT(classic) that has full access](https://github.com/settings/tokens/new?scopes=repo,workflow,admin:org,write:packages,user,gist,notifications,admin:repo_hook,admin:public_key,admin:enterprise,audit_log,codespace,project,admin:gpg_key,admin:ssh_signing_key&description=GLUEOPS%20-%20DEV-FOR-GATEKEEPER)
- create a workflow to call (or use github user management workflow)
- setup webhooks at organization level:
- Create a GitHub organization for testing
- Create a fine-grained access token
- Restrict to a single repository that contains the workflow(s) you want to trigger
- Repository permissions should be:
- Read access to metadata
- Read and write access to actions
- Create a workflow to call (or use github user management workflow)
- Setup webhooks at organization level:
* Trigger events: repository events
* Content type = `application/json`
* Create webhooks here: https://github.com/organizations/<GITHUB_ORG_NAME/settings/hooks)

### required env variables
### Required env variables

```bash
GITHUB_DISPATCH_URL=https://api.github.com/repos/<GITHUB_ORG_NAME>/<GITHUB_REPO_NAME>/actions/workflows/<WORKFLOW_TO_CALL>.yaml/dispatches
Expand Down

0 comments on commit 3421bf6

Please sign in to comment.