feat(ci): add author verification workflow on merge to main#2925
Merged
migmartri merged 2 commits intoMar 23, 2026
Merged
Conversation
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".github/workflows/author_verification.yml">
<violation number="1" location=".github/workflows/author_verification.yml:7">
P2: Avoid `id-token: write` at workflow scope. Keep workflow permissions empty (or read-only defaults) and grant OIDC only at the `verify` job level.
(Based on your team's feedback about GitHub Actions permission scoping.) [FEEDBACK_USED]</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Add a dedicated workflow and contract that performs commit author and signature verification via Chainloop attestation on every merge to main. Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Keep workflow-level permissions minimal; id-token:write is already granted at the job level where it's needed. Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
df04fbe to
80f429a
Compare
javirln
approved these changes
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
source-commitpolicy withcheck_signatureandcheck_author_verifiedenabledsync_contracts.ymlworkflow