{{define "width"}}wide{{end}} {{define "title"}}settings · {{.Repo.OwnerName}}/{{.Repo.Name}}{{end}} {{define "content"}} {{$base := printf "/%s/%s/settings" .Repo.OwnerName .Repo.Name}}

Settings

{{if .Notice}}{{if .Saved}}

{{.Notice}}

{{else}}{{end}}{{end}}

Identity

Comma separated, lower case.

{{if .Branches}}
{{end}}

Access

Visibility

Public repositories only.

Who can reach this repository

{{if .Access}}
{{range .Access}}{{end}}
userroleviaactions
{{.User}} {{.Role}} {{.Source}} {{if eq .Source "direct"}}
{{end}}
{{else}}

Nobody else can reach it.

{{end}}

An account name and a role. A grant adds to what an organization or team already gives.

Webhooks

{{if .Hooks}}
    {{range .Hooks}}
  • #{{.ID}} {{.URL}} {{.Events}}{{if .Secret}}, signed{{end}}
  • {{end}}
{{else}}

No webhooks.

{{end}}

Comma separated, or * for all.

Optional. Signs each delivery; it is not shown again.

Recent deliveries

{{if .Deliveries}}
{{range .Deliveries}}{{end}}
ideventurlstateactions
{{.ID}} {{.Event}} {{.URL}} {{.Status}} ({{.Attempts}} attempts){{if .LastError}}
{{.LastError}}{{end}}
{{else}}

Nothing delivered yet.

{{end}}

Merge gates

Checked before a merge, in this order: checks, approvals, resolved threads, signatures.

Requires CI to succeed.{{with .Repo.Settings.RequiredContexts}} Also waits for {{range $i, $c := .}}{{if $i}}, {{end}}{{$c}}{{end}} until they report{{if not $.Repo.Settings.RequireChecks}}, once this is on{{end}}.{{end}}

Statuses the checks gate waits for until they report, separated by spaces. Saving any turns required checks on; saving none leaves it as it is.

Approvals from anyone with write access. Zero means none required.

Every thread on the diff must be resolved before merging.

Code owners must approve.

Every commit in the request must carry a verified signature. Squash and merge strategies are refused, since both mint an unsigned commit.

Protected branches

{{if .Repo.Settings.ProtectedBranches}}
    {{$mr := .Repo.Settings.RequireMR}}{{range .Repo.Settings.ProtectedBranches}}
  • {{.}}{{if $mr}} Direct pushes refused, merge requests only.{{end}}
  • {{end}}
{{else}}

No protected branches. A protected branch refuses deletion and force-pushes.

{{end}}

Every protected branch changes through a merge request. A direct push is refused in pre-receive.

Protected tags

{{if .Repo.Settings.ProtectedTags}}
    {{range .Repo.Settings.ProtectedTags}}
  • {{.}}
  • {{end}}
{{else}}

No protected tags. A tag matching a protected glob is created once and refuses moves and deletion. A tag a release is anchored to refuses both regardless.

{{end}}

Dependencies

Evaluates the manifests on {{.Repo.DefaultBranch}} and opens an issue. Go, NPM, Crates, and PyPI only.

{{if .DepsEnabled}}

Last checked {{if .Deps.LastCheck}}{{when .Deps.LastCheck}}{{else}}never{{end}}{{if .Deps.IssueNumber}} · #{{.Deps.IssueNumber}}{{end}}

{{if .Deps.LastError}}{{end}} {{if .Deps.Behind}}
{{range .Deps.Behind}} {{end}}
dependencypinnedlatest
{{.Ecosystem}} {{.Name}} {{.Current}} {{.Latest}}
{{else}}

Nothing behind{{if not .Deps.LastCheck}} — the first check has not run yet{{end}}.

{{end}} {{end}}

Runners

{{if .Runners}}
    {{range .Runners}}
  • {{.Fingerprint}} {{.Username}}{{if .LastSeen}}, last poll {{when .LastSeen}}{{else}}, never polled{{end}}{{if .BuildNumber}}, running {{.BuildRepo}} #{{.BuildNumber}} {{.BuildJob}}{{end}}
  • {{end}}
{{else}}

No runners attached. Builds for this repository run on the runners attached here; a repository with none queues builds nothing claims.

{{end}}

Install gitbay-runner, run gitbay-runner init, and paste the key it prints. The runner builds your commits with the repository's secrets; merge requests from forks wait unless it runs with -untrusted.

Lifecycle

Read-only for everyone. Issues and requests close to new activity. Reversible.

Clone URLs change. The old path stops resolving.

{{$path := printf "%s/%s" .Repo.OwnerName .Repo.Name}}

Move it to your own account or an organization you administer. Clone URLs change.

{{template "confirmfield" $path}}

Delete

Removes the repository, its issues and merge requests. Cannot be undone.

{{template "confirmfield" $path}}

{{end}}