Skip to content

feat: harden workflow validation and permissions#392

Open
hriszc wants to merge 1 commit intoasyncapi:masterfrom
hriszc:codex/workflow-security-validator
Open

feat: harden workflow validation and permissions#392
hriszc wants to merge 1 commit intoasyncapi:masterfrom
hriszc:codex/workflow-security-validator

Conversation

@hriszc
Copy link

@hriszc hriszc commented Mar 10, 2026

Fixes #388

This expands the workflow-validation path instead of only patching a few individual workflows:

  • add a unified workflow security job on top of the existing schema check
  • run actionlint and zizmor in CI for workflow changes
  • add explicit least-privilege permissions to the highest-risk pull_request_target and issue_comment workflows
  • keep the scope small enough to review independently from the broader workflow cleanup already in progress

Validated locally by parsing all workflow YAML files after the changes.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

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.

[FEATURE] Github workflow linter and security validator

1 participant