Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CloudBees policy utilities

A collection of utilities for working with CloudBees policies.

Contents

Utility Description

Reusable workflow that discovers and evaluates all policies applicable to the current workflow context, and automatically routes REVIEW results to a manual approval step.

Usage

Call evaluate-policy-context from your workflow to evaluate all policies that match the current checkpoint. The workflow resolves REVIEW results to a manual approval step automatically.

policy-exit:
  needs: [scan-job]
  uses: cloudbees-io/policy-utils/evaluate-policy-context/workflow.yml@v2
  with:
    checkpoint-type: job
    checkpoint-name: scan-job
    checkpoint-position: exit

See evaluate-policy-context/README.adoc for the full list of inputs and outputs.

References

About

Utilities surrounding policy checks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors