slsa-framework / slsa-github-generator

Language-agnostic SLSA provenance generation for Github Actions
Apache License 2.0
433 stars 130 forks source link

feat: draft: add pre-submit e2e test against slsa-verifier@main #4007

Open ramonpetgrave64 opened 1 week ago

ramonpetgrave64 commented 1 week ago

Summary

As a followup to #<> this PR adds a new pre-submit workflow to run within pull requests that will produce a provenance with the generic generator, and attempt to verify it with the slsla-verifier at the latest commit in main. This will be a faster way to test changes to both slsa-github-generator and slsa-verifier without needing to issue new releases.

This new workflow also runs on a daily schedule and failures will auto-open new issues, like our existing e2e workflows.

Testing Process

[ ] All steps in the workflow succeed.

Checklist