gitea/models/migrations/v1_20
silverwind 74f0c84fa4
Enable more `revive` linter rules ()
Noteable additions:

- `redefines-builtin-id` forbid variable names that shadow go builtins
- `empty-lines` remove unnecessary empty lines that `gofumpt` does not
remove for some reason
- `superfluous-else` eliminate more superfluous `else` branches

Rules are also sorted alphabetically and I cleaned up various parts of
`.golangci.yml`.
..
main_test.go Redesign Scoped Access Tokens ()
v244.go Require approval to run actions for fork pull request ()
v245.go Rename `Sync2` -> `Sync` ()
v246.go Fix missed migration in ()
v247.go Do not store user projects as organization projects ()
v248.go Display the version of runner in the runner list ()
v249.go Improve indices for `action` table ()
v250.go Enable more `revive` linter rules ()
v251.go Fix owner team access mode value in team_unit table ()
v252.go Fix admin team access mode value in team_unit table ()
v253.go Add migration to fix external unit access mode of owner/admin team ()
v254.go Support upload `outputs` and use `needs` context on Actions ()
v255.go Display when a repo was archived ()
v256.go Add Debian package registry ()
v257.go Implement actions artifacts ()
v258.go Add the ability to pin Issues ()
v259.go Redesign Scoped Access Tokens ()
v259_test.go Redesign Scoped Access Tokens ()