Do you set default permissions for all new repositories?

Loading last updated info...

Using GitHub Webhooks, you can set some default permissions for every new repository inside an organisation.

You can use the repository event to trigger a GitHub action to set the permissions.

See the GitHub docs Permissions API

Add example of a GitHub action that sets the permissions

By adding this to your organisation, every new repo will already have the optimal permissions and privileges.

Categories

Authors

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star