Skip to content

InstaCode/lockdown

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Lockdown CI Security

build-test Quality Gate Status

This GitHub action restricts the build from continuing to execution unless the author of the commit/pull request is among a list of approved users.

Example: Only repo owner can execute builds. Orgs and teams not supported yet.

- uses: InstaCode/lockdown@v1.1

Example: Repo Owner is assumed permitted with one additional user.

- uses: InstaCode/lockdown@v1.1
  with:
    users: dependabot-preview

Example: Repo Owner is held to strict rules and must be listed in

- uses: InstaCode/lockdown@v1.1
  with:
    users: fake-user, dependabot-preview
    strict: true

The users property accepts a comma delimited list of valid github usernames that will be trimmed during processing.