SYMBOL INDEX (195 symbols across 61 files) FILE: cmd/gen-jsonschema/main.go function main (line 11) | func main() { function core (line 17) | func core() error { FILE: cmd/ghalint/main.go function main (line 10) | func main() { FILE: pkg/action/find.go function Find (line 9) | func Find(fs afero.Fs) ([]string, error) { FILE: pkg/cli/app.go type RunArgs (line 15) | type RunArgs struct type RunActionArgs (line 19) | type RunActionArgs struct function Run (line 25) | func Run(ctx context.Context, logger *slogutil.Logger, env *urfave.Env) ... type Runner (line 100) | type Runner struct FILE: pkg/cli/experiment/command.go function New (line 10) | func New(logger *slogutil.Logger, fs afero.Fs, validateInputArgs *valida... FILE: pkg/cli/experiment/validateinput/command.go type Args (line 18) | type Args struct function New (line 22) | func New(logger *slogutil.Logger, fs afero.Fs, args *Args) *cli.Command { type Runner (line 36) | type Runner struct method Action (line 40) | func (r *Runner) Action(ctx context.Context, logger *slogutil.Logger, ... function GetRootDir (line 60) | func GetRootDir() (string, error) { FILE: pkg/cli/gflags/gflags.go type GlobalFlags (line 3) | type GlobalFlags struct FILE: pkg/cli/run.go method Run (line 11) | func (r *Runner) Run(ctx context.Context, logger *slogutil.Logger, args ... FILE: pkg/cli/run_action.go method RunAction (line 11) | func (r *Runner) RunAction(ctx context.Context, logger *slogutil.Logger,... FILE: pkg/config/config.go type Config (line 15) | type Config struct type Exclude (line 19) | type Exclude struct method FilePath (line 28) | func (e *Exclude) FilePath() string { function Find (line 35) | func Find(fs afero.Fs) string { function Read (line 53) | func Read(fs afero.Fs, cfg *Config, filePath string) error { function Validate (line 69) | func Validate(cfg *Config) error { function ConvertPath (line 78) | func ConvertPath(cfg *Config) { function convertPath (line 84) | func convertPath(exclude *Exclude) { function validate (line 89) | func validate(exclude *Exclude) error { //nolint:cyclop FILE: pkg/config/config_test.go function TestValidate (line 9) | func TestValidate(t *testing.T) { //nolint:funlen FILE: pkg/controller/act/controller.go type Controller (line 7) | type Controller struct function New (line 11) | func New(fs afero.Fs) *Controller { FILE: pkg/controller/act/run.go method Run (line 17) | func (c *Controller) Run(_ context.Context, logger *slog.Logger, cfgFile... method listFiles (line 47) | func (c *Controller) listFiles(args ...string) ([]string, error) { method validateAction (line 55) | func (c *Controller) validateAction(logger *slog.Logger, cfg *config.Con... type Policy (line 70) | type Policy interface function withPolicyReference (line 75) | func withPolicyReference(logger *slog.Logger, p Policy) *slog.Logger { method applyStepPolicies (line 82) | func (c *Controller) applyStepPolicies(logger *slog.Logger, cfg *config.... method applyStepPolicy (line 93) | func (c *Controller) applyStepPolicy(logger *slog.Logger, cfg *config.Co... method readConfig (line 113) | func (c *Controller) readConfig(cfg *config.Config, cfgFilePath string) ... FILE: pkg/controller/controller.go type Controller (line 12) | type Controller struct function New (line 16) | func New(fs afero.Fs) *Controller { type WorkflowPolicy (line 22) | type WorkflowPolicy interface type JobPolicy (line 28) | type JobPolicy interface type StepPolicy (line 34) | type StepPolicy interface FILE: pkg/controller/run.go method Run (line 15) | func (c *Controller) Run(_ context.Context, logger *slog.Logger, cfgFile... method validateWorkflow (line 57) | func (c *Controller) validateWorkflow(logger *slog.Logger, cfg *config.C... type Policy (line 94) | type Policy interface function withPolicyReference (line 99) | func withPolicyReference(logger *slog.Logger, p Policy) *slog.Logger { method applyJobPolicies (line 106) | func (c *Controller) applyJobPolicies(logger *slog.Logger, cfg *config.C... method applyJobPolicy (line 117) | func (c *Controller) applyJobPolicy(logger *slog.Logger, cfg *config.Con... method applyStepPolicies (line 135) | func (c *Controller) applyStepPolicies(logger *slog.Logger, cfg *config.... method applyStepPolicy (line 146) | func (c *Controller) applyStepPolicy(logger *slog.Logger, cfg *config.Co... method readConfig (line 177) | func (c *Controller) readConfig(cfg *config.Config, cfgFilePath string) ... FILE: pkg/controller/schema/action.go method runActions (line 15) | func (c *Controller) runActions(ctx context.Context) error { type validateAction (line 41) | type validateAction struct method validate (line 49) | func (v *validateAction) validate(ctx context.Context) error { FILE: pkg/controller/schema/controller.go type Controller (line 11) | type Controller struct function New (line 18) | func New(fs afero.Fs, logger *slog.Logger, gh GitHub, rootDir string) *C... type GitHub (line 27) | type GitHub interface FILE: pkg/controller/schema/job.go type validateJob (line 15) | type validateJob struct method validate (line 23) | func (v *validateJob) validate(ctx context.Context) error { FILE: pkg/controller/schema/reusable_workflow.go method validateReusableWorkflow (line 21) | func (v *validateJob) validateReusableWorkflow(ctx context.Context) error { type ReusableWorkflow (line 42) | type ReusableWorkflow struct type On (line 46) | type On struct method UnmarshalYAML (line 50) | func (o *On) UnmarshalYAML(unmarshal func(any) error) error { //nolint... type WorkflowCall (line 105) | type WorkflowCall struct method validateWorkflow (line 109) | func (v *validateJob) validateWorkflow(wf *ReusableWorkflow) error { function readReusableWorkflow (line 148) | func readReusableWorkflow(fs afero.Fs, p string, wf *ReusableWorkflow) e... method read (line 166) | func (v *validateJob) read(ctx context.Context, wf *ReusableWorkflow) er... FILE: pkg/controller/schema/run.go method Run (line 12) | func (c *Controller) Run(ctx context.Context) error { FILE: pkg/controller/schema/step.go type validateStep (line 20) | type validateStep struct method readAction (line 30) | func (v *validateStep) readAction(ctx context.Context, action *workflo... method download (line 102) | func (v *validateStep) download(ctx context.Context, input *downloadIn... method validate (line 120) | func (v *validateStep) validate(ctx context.Context) error { method readLocalAction (line 169) | func (v *validateStep) readLocalAction(action *workflow.Action) error { constant filePermission (line 91) | filePermission = 0o644 constant dirPermission (line 92) | dirPermission = 0o755 type downloadInput (line 95) | type downloadInput struct FILE: pkg/controller/schema/workflow.go method runWorkflow (line 15) | func (c *Controller) runWorkflow(ctx context.Context) error { type validateWorkflow (line 43) | type validateWorkflow struct method validate (line 51) | func (v *validateWorkflow) validate(ctx context.Context) error { FILE: pkg/github/github.go function New (line 27) | func New(ctx context.Context, logger *slog.Logger) *Client { function getGitHubToken (line 31) | func getGitHubToken() string { function checkKeyringEnabled (line 35) | func checkKeyringEnabled() bool { function getHTTPClientForGitHub (line 39) | func getHTTPClientForGitHub(ctx context.Context, logger *slog.Logger, to... FILE: pkg/github/keyring.go constant KeyService (line 4) | KeyService = "suzuki-shunsuke/ghalint" FILE: pkg/policy/action_ref_should_be_full_length_commit_sha_policy.go type ActionRefShouldBeSHAPolicy (line 15) | type ActionRefShouldBeSHAPolicy struct method Name (line 27) | func (p *ActionRefShouldBeSHAPolicy) Name() string { method ID (line 31) | func (p *ActionRefShouldBeSHAPolicy) ID() string { method ApplyJob (line 35) | func (p *ActionRefShouldBeSHAPolicy) ApplyJob(_ *slog.Logger, cfg *con... method ApplyStep (line 39) | func (p *ActionRefShouldBeSHAPolicy) ApplyStep(_ *slog.Logger, cfg *co... method apply (line 43) | func (p *ActionRefShouldBeSHAPolicy) apply(cfg *config.Config, uses st... method checkUses (line 53) | func (p *ActionRefShouldBeSHAPolicy) checkUses(uses string) string { method excluded (line 80) | func (p *ActionRefShouldBeSHAPolicy) excluded(action string, excludes ... function NewActionRefShouldBeSHAPolicy (line 20) | func NewActionRefShouldBeSHAPolicy() *ActionRefShouldBeSHAPolicy { FILE: pkg/policy/action_ref_should_be_full_length_commit_sha_policy_test.go function TestActionRefShouldBeSHAPolicy_ApplyJob (line 12) | func TestActionRefShouldBeSHAPolicy_ApplyJob(t *testing.T) { //nolint:fu... function TestActionRefShouldBeSHAPolicy_ApplyStep (line 134) | func TestActionRefShouldBeSHAPolicy_ApplyStep(t *testing.T) { //nolint:f... FILE: pkg/policy/action_shell_is_required.go type ActionShellIsRequiredPolicy (line 11) | type ActionShellIsRequiredPolicy struct method Name (line 13) | func (p *ActionShellIsRequiredPolicy) Name() string { method ID (line 17) | func (p *ActionShellIsRequiredPolicy) ID() string { method ApplyStep (line 21) | func (p *ActionShellIsRequiredPolicy) ApplyStep(_ *slog.Logger, _ *con... FILE: pkg/policy/action_shell_is_required_test.go function TestActionShellIsRequiredPolicy_ApplyStep (line 11) | func TestActionShellIsRequiredPolicy_ApplyStep(t *testing.T) { FILE: pkg/policy/checkout_persist_credentials_should_be_false.go type CheckoutPersistCredentialShouldBeFalsePolicy (line 12) | type CheckoutPersistCredentialShouldBeFalsePolicy struct method Name (line 14) | func (p *CheckoutPersistCredentialShouldBeFalsePolicy) Name() string { method ID (line 18) | func (p *CheckoutPersistCredentialShouldBeFalsePolicy) ID() string { method ApplyStep (line 22) | func (p *CheckoutPersistCredentialShouldBeFalsePolicy) ApplyStep(_ *sl... method excluded (line 39) | func (p *CheckoutPersistCredentialShouldBeFalsePolicy) excluded(stepCt... FILE: pkg/policy/checkout_persist_credentials_should_be_false_test.go function TestCheckoutPersistCredentialShouldBeFalsePolicy_ApplyStep (line 12) | func TestCheckoutPersistCredentialShouldBeFalsePolicy_ApplyStep(t *testi... FILE: pkg/policy/context.go type WorkflowContext (line 5) | type WorkflowContext struct type JobContext (line 10) | type JobContext struct type StepContext (line 16) | type StepContext struct FILE: pkg/policy/deny_inherit_secrets.go type DenyInheritSecretsPolicy (line 11) | type DenyInheritSecretsPolicy struct method Name (line 13) | func (p *DenyInheritSecretsPolicy) Name() string { method ID (line 17) | func (p *DenyInheritSecretsPolicy) ID() string { method ApplyJob (line 21) | func (p *DenyInheritSecretsPolicy) ApplyJob(_ *slog.Logger, cfg *confi... FILE: pkg/policy/deny_inherit_secrets_test.go function TestDenyInheritSecretsPolicy_ApplyJob (line 14) | func TestDenyInheritSecretsPolicy_ApplyJob(t *testing.T) { FILE: pkg/policy/deny_job_container_latest_image.go type DenyJobContainerLatestImagePolicy (line 12) | type DenyJobContainerLatestImagePolicy struct method Name (line 14) | func (p *DenyJobContainerLatestImagePolicy) Name() string { method ID (line 18) | func (p *DenyJobContainerLatestImagePolicy) ID() string { method ApplyJob (line 22) | func (p *DenyJobContainerLatestImagePolicy) ApplyJob(logger *slog.Logg... FILE: pkg/policy/deny_job_container_latest_image_test.go function TestDenyJobContainerLatestImagePolicy_ApplyJob (line 11) | func TestDenyJobContainerLatestImagePolicy_ApplyJob(t *testing.T) { //no... FILE: pkg/policy/deny_read_all_policy.go type DenyReadAllPermissionPolicy (line 11) | type DenyReadAllPermissionPolicy struct method Name (line 13) | func (p *DenyReadAllPermissionPolicy) Name() string { method ID (line 17) | func (p *DenyReadAllPermissionPolicy) ID() string { method ApplyJob (line 21) | func (p *DenyReadAllPermissionPolicy) ApplyJob(_ *slog.Logger, _ *conf... FILE: pkg/policy/deny_read_all_policy_test.go function TestDenyReadAllPermissionPolicy_ApplyJob (line 11) | func TestDenyReadAllPermissionPolicy_ApplyJob(t *testing.T) { FILE: pkg/policy/deny_write_all_policy.go type DenyWriteAllPermissionPolicy (line 11) | type DenyWriteAllPermissionPolicy struct method Name (line 13) | func (p *DenyWriteAllPermissionPolicy) Name() string { method ID (line 17) | func (p *DenyWriteAllPermissionPolicy) ID() string { method ApplyJob (line 21) | func (p *DenyWriteAllPermissionPolicy) ApplyJob(_ *slog.Logger, _ *con... FILE: pkg/policy/deny_write_all_policy_test.go function TestDenyWriteAllPermissionPolicy_ApplyJob (line 11) | func TestDenyWriteAllPermissionPolicy_ApplyJob(t *testing.T) { FILE: pkg/policy/github_app_should_limit_permissions.go type GitHubAppShouldLimitPermissionsPolicy (line 12) | type GitHubAppShouldLimitPermissionsPolicy struct method Name (line 14) | func (p *GitHubAppShouldLimitPermissionsPolicy) Name() string { method ID (line 18) | func (p *GitHubAppShouldLimitPermissionsPolicy) ID() string { method ApplyStep (line 22) | func (p *GitHubAppShouldLimitPermissionsPolicy) ApplyStep(_ *slog.Logg... method checkUses (line 61) | func (p *GitHubAppShouldLimitPermissionsPolicy) checkUses(uses string)... FILE: pkg/policy/github_app_should_limit_permissions_test.go function TestGitHubAppShouldLimitPermissionsPolicy_ApplyStep (line 12) | func TestGitHubAppShouldLimitPermissionsPolicy_ApplyStep(t *testing.T) {... FILE: pkg/policy/github_app_should_limit_repositories.go type GitHubAppShouldLimitRepositoriesPolicy (line 12) | type GitHubAppShouldLimitRepositoriesPolicy struct method Name (line 14) | func (p *GitHubAppShouldLimitRepositoriesPolicy) Name() string { method ID (line 18) | func (p *GitHubAppShouldLimitRepositoriesPolicy) ID() string { method ApplyStep (line 22) | func (p *GitHubAppShouldLimitRepositoriesPolicy) ApplyStep(logger *slo... method checkUses (line 62) | func (p *GitHubAppShouldLimitRepositoriesPolicy) checkUses(uses string... method excluded (line 70) | func (p *GitHubAppShouldLimitRepositoriesPolicy) excluded(cfg *config.... FILE: pkg/policy/github_app_should_limit_repositories_test.go function TestGitHubAppShouldLimitRepositoriesPolicy_ApplyStep (line 12) | func TestGitHubAppShouldLimitRepositoriesPolicy_ApplyStep(t *testing.T) ... FILE: pkg/policy/job_permissions_policy.go type JobPermissionsPolicy (line 11) | type JobPermissionsPolicy struct method Name (line 13) | func (p *JobPermissionsPolicy) Name() string { method ID (line 17) | func (p *JobPermissionsPolicy) ID() string { method ApplyJob (line 21) | func (p *JobPermissionsPolicy) ApplyJob(_ *slog.Logger, _ *config.Conf... FILE: pkg/policy/job_permissions_policy_test.go function TestJobPermissionsPolicy_ApplyJob (line 11) | func TestJobPermissionsPolicy_ApplyJob(t *testing.T) { //nolint:funlen FILE: pkg/policy/job_secrets_policy.go type JobSecretsPolicy (line 13) | type JobSecretsPolicy struct method Name (line 25) | func (p *JobSecretsPolicy) Name() string { method ID (line 29) | func (p *JobSecretsPolicy) ID() string { method ApplyJob (line 42) | func (p *JobSecretsPolicy) ApplyJob(_ *slog.Logger, cfg *config.Config... function NewJobSecretsPolicy (line 18) | func NewJobSecretsPolicy() *JobSecretsPolicy { function checkExcludes (line 33) | func checkExcludes(policyName string, jobCtx *JobContext, cfg *config.Co... FILE: pkg/policy/job_secrets_policy_test.go function TestJobSecretsPolicy_ApplyJob (line 12) | func TestJobSecretsPolicy_ApplyJob(t *testing.T) { //nolint:funlen FILE: pkg/policy/job_timeout_minutes_is_required.go type JobTimeoutMinutesIsRequiredPolicy (line 11) | type JobTimeoutMinutesIsRequiredPolicy struct method Name (line 13) | func (p *JobTimeoutMinutesIsRequiredPolicy) Name() string { method ID (line 17) | func (p *JobTimeoutMinutesIsRequiredPolicy) ID() string { method ApplyJob (line 21) | func (p *JobTimeoutMinutesIsRequiredPolicy) ApplyJob(_ *slog.Logger, _... FILE: pkg/policy/job_timeout_minutes_is_required_test.go function TestJobTimeoutMinutesIsRequiredPolicy_ApplyJob (line 11) | func TestJobTimeoutMinutesIsRequiredPolicy_ApplyJob(t *testing.T) { //no... FILE: pkg/policy/workflow_secrets_policy.go type WorkflowSecretsPolicy (line 11) | type WorkflowSecretsPolicy struct method Name (line 23) | func (p *WorkflowSecretsPolicy) Name() string { method ID (line 27) | func (p *WorkflowSecretsPolicy) ID() string { method ApplyWorkflow (line 31) | func (p *WorkflowSecretsPolicy) ApplyWorkflow(logger *slog.Logger, _ *... function NewWorkflowSecretsPolicy (line 16) | func NewWorkflowSecretsPolicy() *WorkflowSecretsPolicy { FILE: pkg/policy/workflow_secrets_policy_test.go function TestWorkflowSecretsPolicy_ApplyWorkflow (line 12) | func TestWorkflowSecretsPolicy_ApplyWorkflow(t *testing.T) { //nolint:fu... FILE: pkg/workflow/container.go type Container (line 7) | type Container struct method UnmarshalYAML (line 11) | func (c *Container) UnmarshalYAML(unmarshal func(any) error) error { function convContainer (line 19) | func convContainer(src any, c *Container) error { //nolint:cyclop FILE: pkg/workflow/container_test.go function TestContainer_UnmarshalYAML (line 10) | func TestContainer_UnmarshalYAML(t *testing.T) { FILE: pkg/workflow/job_secrets.go type JobSecrets (line 9) | type JobSecrets struct method Secrets (line 14) | func (js *JobSecrets) Secrets() map[string]string { method Inherit (line 18) | func (js *JobSecrets) Inherit() bool { method UnmarshalYAML (line 22) | func (js *JobSecrets) UnmarshalYAML(unmarshal func(any) error) error { function convJobSecrets (line 30) | func convJobSecrets(src any, dest *JobSecrets) error { //nolint:cyclop FILE: pkg/workflow/job_secrets_test.go function TestJobSecrets_UnmarshalYAML (line 10) | func TestJobSecrets_UnmarshalYAML(t *testing.T) { FILE: pkg/workflow/list_workflows.go function List (line 9) | func List(fs afero.Fs) ([]string, error) { FILE: pkg/workflow/permissions.go type Permissions (line 9) | type Permissions struct method Permissions (line 23) | func (ps *Permissions) Permissions() map[string]string { method ReadAll (line 30) | func (ps *Permissions) ReadAll() bool { method WriteAll (line 37) | func (ps *Permissions) WriteAll() bool { method IsNil (line 44) | func (ps *Permissions) IsNil() bool { method UnmarshalYAML (line 51) | func (ps *Permissions) UnmarshalYAML(unmarshal func(any) error) error { function NewPermissions (line 15) | func NewPermissions(readAll, writeAll bool, m map[string]string) *Permis... function convPermissions (line 59) | func convPermissions(src any, dest *Permissions) error { //nolint:cyclop FILE: pkg/workflow/permissions_test.go function TestPermissions_UnmarshalYAML (line 10) | func TestPermissions_UnmarshalYAML(t *testing.T) { FILE: pkg/workflow/read_action.go function ReadAction (line 13) | func ReadAction(fs afero.Fs, p string, action *Action) error { FILE: pkg/workflow/read_workflow.go function Read (line 13) | func Read(fs afero.Fs, p string, wf *Workflow) error { FILE: pkg/workflow/workflow.go type Workflow (line 10) | type Workflow struct type Job (line 17) | type Job struct type Step (line 28) | type Step struct type With (line 38) | type With method UnmarshalYAML (line 40) | func (w With) UnmarshalYAML(b []byte) error { type Action (line 62) | type Action struct type Runs (line 67) | type Runs struct type Input (line 72) | type Input struct