Skip to content

Repository to demonstrate use of Legit-Labs Legitify for Repository Governance

Notifications You must be signed in to change notification settings

xpirit-training/demo-features-governance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Govern GitHub

Legitify Policy Scan

Repository to demonstrate use of Legit-Labs Legitify for repository governance.

Workflows

Legitify provides a GitHub action that can be used. The action needs authentication through a personal access token. As this is not neccessarily best practice, an approach using a GitHub App is investigated as well. Read the next section to get further details about the two methods.

Policies

Legitify check for a number policies that are documented in Legitify's docs.

GitHub App

The target perform the scan through a GitHub app to avoid using a PAT. This does not work yet and needs to be further investigated.

Personal Access Token (PAT)

This is the main workflow to scan this repository manually according to Legitify's default policies. In a productive setting this scan should be scheduled on a daily or weekly basis.

The workflow creates an issue on success or failure to notify about the results. The issues are created from templates located at .github/templates. The templates contain placeholder that are replaced in the workflow run using jinja2.

About

Repository to demonstrate use of Legit-Labs Legitify for Repository Governance

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published