Discover Packages
github.com/linuxdeepin/action-organization-manager
command
module
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Mar 9, 2022
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
action-organization-manager
github actions for organization manage
Features
Features switch (Wiki,Issues...)
Branchs protection
app_id:
description: "github app id"
required: true
installation_id:
description: "github app installation id"
required: true
private_key:
description: "github app private key"
required: true
config_file:
description: "manager config file"
required: true
Uses
Create and Install GitHub App in organization settings
Get AppID (App setting -> General) and InstallationID (App setting -> Advanced -> Recent Deliveries -> Payload)
Generate GitHub App Private Key and upload to organization secrets
Add .github/workflows/org-mgr.yml to organization repository
name: organization-manager
on:
push:
paths: ["organization.yaml", ".github/workflows/org-mgr.yml"]
jobs:
job:
name: organization-manager
runs-on: ubuntu-latest
steps:
- uses: myml/action-organization-manager@v0.0.3
with:
app_id: $app_id
installation_id: $installation_id
private_key: ${{ secrets.APP_PRIVATE_KEY }}
config_file: organization.yaml
Add organization.yaml config file to organization repository
organization: $organization_name
settings:
- repositories: [$repositories_name or regular expression]
features:
issues:
enable: true
wiki:
enable: true
projects:
enable: true
branches:
$branche_name:
dismiss_stale_reviews: true
enforce_admins: true
required_approving_review_count: 1
required_status_checks:
require_review: true
strict: true
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.