Skip to content

gradle/develocity-provenance-governor-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Develocity Provenance Governor Actions - BETA

GitHub Actions to make Develocity Provenance Governor part of your GitHub workflows.


Publishing

uses: gradle/develocity-provenance-governor-actions/publish@main
with:
  attestation-publisher-url: 'https://cavendish.sdlc-demo.gradle.com'
  tenant: default
  build-scan-ids: eo5xxyg3drtoc
  build-scan-queries: 'value:"CI run=${{ github.run_id }}"'
  subject-type: oci
  subject-name: java-payment-calculator
  subject-version: 1.2.3
  subject-digest: 1a6b2bf83435f2a9ccd33519ad3e817bf79aee6af1c7a15d26d8a256bfa9cc94
  subject-repository-url: develocitytia.jfrog.io/docker-trial

Requires a GitHub OIDC token.

One of build-scan-ids or build-scan-queries must be provided. Multiple IDs and queries may be specified, one per line. Queries use theDevelocity advanced query syntax.

There is also a subject-namespace field that can be used with subject types that require it.

Tip

You can use the Common Custom User Data plugins (Gradle, Maven, Sbt) to automatically add GitHub-related custom values to Build Scans, like the CI run value used in the example configuration.

Enforcement

uses: gradle/develocity-provenance-governor-actions/enforce@main
with:
  policy-evaluator-url: 'https://cavendish.sdlc-demo.gradle.com'
  tenant: default
  subject-type: oci
  subject-name: java-payment-calculator
  subject-version: 1.2.3
  subject-digest: 1a6b2bf83435f2a9ccd33519ad3e817bf79aee6af1c7a15d26d8a256bfa9cc94
  subject-repository-url: develocitytia.jfrog.io/docker-trial
  policy-scan: ci-enforcement
  enforcement-point: CI # Optional

Requires a GitHub OIDC token.

All properties are required, except enforcement-point. If no enforcement point is provided, all policies in the scan will be evaluated and any UNSATISFIED result will be treated as a failure.

There is also a subject-namespace field that can be used with subject types that require it.

About

GitHub Action to create attestations

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •