Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.37 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.37 KB

auto-whitelist-actions

CI

This repository is designed to work as the gatekeeper for approved actions into your organization.

Prerequisites

  • A Personal Access Token for an account that has access to administrate all Organizations within the Enterprise, as well as the Enterprise itself. The following scopes should be selected on the PAT:
    • admin:org (top level)
    • admin:enterprise (top level)
  • A Repository Secret named ORG_TOKEN with the Personal Access Token (PAT) defined in the previous step.

How to use

Request:

  1. User create a new branch
  2. User add new line with proposed action in actions-list.txt
  3. User commit and submit a PR with the proposing change

Approval:

  1. Owner to review/Approve/Reject the opened PRs.
  2. If PR approved, then the Workflow will trigger and apply the new changes based on the actions-list.txt in the same organization where the repository is hosted, this can be modified in the workflow file.

License

MIT