ghalint

module
v0.1.0-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2023 License: MIT

README

ghalint

GitHub Actions linter

Policies

  • job_permissions: All jobs should have permissions
    • Why: For least privilege
  • workflow_secrets: Workflow should not set secrets to environment variables
    • How to fix: set secrets to jobs
    • Why: To limit the scope of secrets

How to use

$ ghalint run

Why not actionlint?

  • We don't think ghalint can replace actionlint
  • We use both actionlint and ghalint
  • ghalint doesn't support features that actionlint supports
  • We develop ghalint to support our policies that actionlint doesn't cover

LICENSE

MIT

Directories

Path Synopsis
cmd
ghalint command
pkg
cli
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL