{{ctx.Locale.Tr "actions.scoped_workflows"}}

{{.ScopedWorkflowsDesc}}

{{ctx.Locale.Tr "actions.scoped_workflows.add_help" .ScopedWorkflowDirs}}

{{ctx.Locale.Tr "actions.scoped_workflows.security_note"}}
{{if .ScopedWorkflowSources}}
{{range $i, $src := .ScopedWorkflowSources}} {{if $i}}
{{end}}
{{$src.Repo.FullName}}
{{if $src.ScopedWorkflowInfos}}
{{ctx.Locale.Tr "actions.scoped_workflows.required.label"}}
{{range $src.ScopedWorkflowInfos}} {{end}}
{{ctx.Locale.Tr "actions.runs.workflow_file"}} {{ctx.Locale.Tr "actions.workflow.required"}} {{ctx.Locale.Tr "actions.scoped_workflows.required.patterns"}} ({{ctx.Locale.Tr "actions.scoped_workflows.required.patterns_note"}})
{{.EntryName}}{{if .Missing}} {{ctx.Locale.Tr "actions.scoped_workflows.required.missing_file"}}{{end}}
{{ctx.Locale.Tr "actions.scoped_workflows.required.patterns_hint"}} {{if or .Contexts (not .Missing)}} {{if .Contexts}} {{range .Contexts}} {{end}} {{else}} {{end}}
{{ctx.Locale.Tr "actions.scoped_workflows.required.expected_contexts"}}
{{.}} {{ctx.Locale.Tr "repo.settings.protect_status_check_matched"}}
{{ctx.Locale.Tr "actions.scoped_workflows.required.no_status_contexts"}}
{{end}}
{{ctx.Locale.Tr "actions.scoped_workflows.required.patterns_help"}}
{{else}}
{{ctx.Locale.Tr "actions.scoped_workflows.no_files"}}
{{end}} {{end}}
{{end}}