Skip to content
Open-HMGPublic

About

Org-wide automation for Open-HMG: keeps the core team admin on every repo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Open-HMG/.github

Org-wide automation for Open-HMG. The project itself is HMG-API.

Team access

team-access.yml runs every hour and gives the core team admin on any Open-HMG repo where it doesn't have it yet, so a new repo needs no manual step. Archived repos are skipped. Run it by hand from the Actions tab (Run workflow) after creating a repo.

It uses the CORE_ADMIN_TOKEN secret: a fine-grained token from an org owner, resource owner Open-HMG, all repositories, with these permissions:

  • Repository: Administration (read and write), Metadata (read)
  • Organization: Members (read and write)

The token can change access on every repo, so this repo's main is protected and core reviews every change. Seven days before the token expires, the workflow opens an issue here assigned to VysseCodes; make a new token, replace the secret, and the next run closes the issue.

Note on this repo's name

GitHub uses files at the top of an org's .github repo (CONTRIBUTING.md, SECURITY.md, profile/README.md and the like) as defaults for every repo that has none. Don't add any here unless that's what you want.

About

Org-wide automation for Open-HMG: keeps the core team admin on every repo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors