Skip to content

Fix Checkov reusable workflow permission mismatch#45

Merged
Vombato merged 2 commits intomainfrom
fix/checkov-reusable-permissions-main
May 6, 2026
Merged

Fix Checkov reusable workflow permission mismatch#45
Vombato merged 2 commits intomainfrom
fix/checkov-reusable-permissions-main

Conversation

@Vombato
Copy link
Copy Markdown
Collaborator

@Vombato Vombato commented May 6, 2026

Summary

  • remove the artifact upload step from the reusable Checkov workflow
  • drop the job-level actions: write permission that was only required by artifact upload
  • ensure external caller workflows with restrictive permissions can invoke this reusable workflow without validation errors

Test plan

  • Validate workflow syntax after the change
  • Confirm diff versus main only includes .github/workflows/checkov.yaml
  • Trigger security-checks.yml in a caller repository and verify no nested permission error is raised

Made with Cursor

Remove artifact upload from the Checkov reusable workflow so it no longer requires `actions: write`, allowing external callers with restrictive permissions to invoke it successfully.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Vombato Vombato requested a review from a team as a code owner May 6, 2026 08:27
Signed-off-by: Luca Bandini <luca.bandini@vechain.org>
@Vombato Vombato merged commit c8645e5 into main May 6, 2026
15 checks passed
@Vombato Vombato deleted the fix/checkov-reusable-permissions-main branch May 6, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant