Skip to content

ci: run dependency review and workflow lint on pull requests - #154

Merged
pjhartlieb merged 2 commits into
devfrom
ci/dev-security
Nov 9, 2026
Merged

pjhartlieb merged 2 commits into
devfrom
ci/dev-security

Conversation

@pjhartlieb

Copy link
Copy Markdown
Contributor

Adds dev-security.yml, which calls release-workflows dev-security.yml at v1.1.0 (pinned by commit SHA). On every pull request it runs dependency review and the workflow lint (actionlint, zizmor), the security checks publishing policy rule 3 requires on dev. Once this merges, the dev ruleset requires dev-security / dependency-review and dev-security / workflow-lint.

It also fixes what zizmor reports in the existing workflows, so the new check starts green:

  • cla.yml: both triggers marked as reviewed. cla-reusable.yml never checks out pull request code.
  • publish.yml: the same-repository workflow calls marked as reviewed.
  • benchmark.yml (where present): checkouts no longer persist credentials.
  • dependabot.yml: version updates wait 7 days after a release is published (cooldown), so a compromised release has time to be caught first. Security updates are not delayed.

Locally: actionlint 1.7.12 clean, zizmor 1.30.1 (the version the check runs) no findings across the repository.

Calls release-workflows dev-security.yml (v1.1.0), the security checks policy rule 3 requires on dev. Fixes what zizmor reports: the CLA triggers are marked as reviewed (cla-reusable.yml never checks out pull request code), benchmark checkouts drop persisted credentials, and publish.yml's local workflow calls are marked as reviewed (same-repository calls on stable).
zizmor dependabot-cooldown (the workflow-lint check): version updates now wait 7 days after a release is published, so a compromised release has time to be caught and pulled before it is proposed here. Security updates are not delayed.
@pjhartlieb pjhartlieb closed this Nov 9, 2026
@pjhartlieb pjhartlieb reopened this Nov 9, 2026
@pjhartlieb pjhartlieb closed this Nov 9, 2026
@pjhartlieb pjhartlieb reopened this Nov 9, 2026
@pjhartlieb
pjhartlieb merged commit 63ea54e into dev Nov 9, 2026
40 of 42 checks passed
@pjhartlieb
pjhartlieb deleted the ci/dev-security branch November 9, 2026 17:33
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