Skip to content

[FEATURE] Github workflow linter and security validator #388

@Shurtu-gal

Description

@Shurtu-gal

Why do we need this improvement?

At the moment, we run a basic validation action on every PR that checks GitHub Actions workflow files against a JSON Schema. While useful for catching simple syntax errors, this validation is limited and does not cover logic, security, or permission-related issues.

Related to: #257

How will this change help?

We recently had security breaches and would like to curb them.

Screenshots

No response

How could it be implemented/designed?

Tasks:

  • Run zizmor on existing GitHub Actions workflows and fix reported security issues.
  • Run actionlint on existing workflows and update them to pass validation.
  • Integrate actions-permissions to detect insecure permissions.
  • Ensure all workflows explicitly define permissions: and avoid implicit defaults.
  • Create a unified workflow-validation GitHub Action combining all selected checks

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

bountyAsyncAPI BountyenhancementNew feature or request

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions