ghalactic / provision-github-tokens

A GitHub Action that creates and rotates GitHub tokens for you
MIT License
1 stars 0 forks source link

TODO #2

Open ezzatron opened 2 months ago

ezzatron commented 2 months ago
ezzatron commented 2 months ago

Repository name rules:

The repository name can only contain ASCII letters, digits, and the characters ., -, and _. The repository . is reserved.

ezzatron commented 1 month ago

Secret name rules:

Secret names can only contain alphanumeric characters ([a-z], [A-Z], [0-9]) or underscores (_). Spaces are not allowed. Must start with a letter ([a-z], [A-Z]) or underscores (_).

ezzatron commented 1 month ago

Organization name rules:

The name may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen.

ezzatron commented 2 weeks ago

Environment name rules:

Name must not contain non-printable characters or the characters "'", "\"", "`", ",", ";", "\"

ezzatron commented 2 weeks ago

Current front-runner for re-work of permissions rules schema:

permissions:
  rules:
    - description: Description goes here
      resources:
        - accounts: [account-a, account-*]
          noRepos: true
          allRepos: true
          selectedRepos: [repo-a]
      consumers: [account-b, wild-*]
      permissions:
        contents: write
        members: read
        metadata: read
ezzatron commented 2 weeks ago

Three types of token requests:

Two types of consumers:

Goals:

Concepts: