SECOPS

Route copyleft dependency requests to legal for Slack approval

When a PR adds a copyleft-licensed package, it posts an approve/reject request to a legal review Slack channel and holds the PR check pending until a reviewer clicks a decision.

CategorySecOps
EngineSim + Paperclip
Difficultyadvanced
Triggerevent
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPull request opened or updatedGitHubGitHub
  • ActionDetect copyleft dependencies added in the PRGitHubGitHub
  • ActionPost Approve/Reject request to legal channelSlack
  • LogicWait for reviewer decision
  • OutputSet commit status from decision and log itGitHubGitHub

What it does

Instead of hard-blocking every copyleft package, this workflow opens a human approval loop. When a pull request introduces a dependency under a copyleft license, the workflow gathers the package, version, license, and a link to the PR, then posts an interactive message to your legal or open-source-review Slack channel with Approve and Reject buttons. The PR's status check stays pending until someone decides. Approve marks the check green and records who signed off; Reject marks it red with the reviewer's name attached, giving you an auditable paper trail of every exception.

When to use it

Use it when a blanket ban is too blunt — some copyleft libraries are fine for internal tooling but not for redistributed product code, and that call belongs to legal, not CI. It suits organizations with a formal OSS review process that want the decision captured in-band rather than buried in email.

How it works

  1. 1A GitHub pull request trigger fires on open and synchronize.
  2. 2The workflow resolves licenses of the newly added dependencies and filters down to copyleft matches.
  3. 3If a match exists, it posts an interactive approval message with package details and Approve/Reject buttons to the legal Slack channel, and sets the PR check to pending.
  4. 4A logic branch waits for the reviewer's click, then updates the GitHub commit status to success or failure and logs the decision and reviewer back to the PR thread.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.