docs: sudo scope is obsolete, remove it

This commit is contained in:
Earl Warren 2023-11-08 17:26:50 +01:00
parent 44e227e7b3
commit f6d72d6565
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 4 deletions

View file

@ -41,8 +41,8 @@ It can only be run on the `self-hosted` platform, running on a host with LXC ins
| image-version | Container image version | `false` | 1.20 | | image-version | Container image version | `false` | 1.20 |
| user | Administrator user name | `false` | root | | user | Administrator user name | `false` | root |
| password | Administrator password | `false` | admin1234 | | password | Administrator password | `false` | admin1234 |
| runner | Runner git repository | `false` | https://code.forgejo.org/forgejo/runner | | runner | Runner repository | `false` | https://code.forgejo.org/forgejo/runner |
| runner-version | Runner version | `false` | v3.0.1 | | runner-version | Runner version. If it starts with @ (for instance @featurebranch), the runner will be built from source using the specified branch. | `false` | v3.0.1 |
| container | Name of the container running the Forgejo instance | `false` | forgejo | | container | Name of the container running the Forgejo instance | `false` | forgejo |
| lxc-ip-prefix | Class C IP prefix used by LXC | `false` | 10.0.23 | | lxc-ip-prefix | Class C IP prefix used by LXC | `false` | 10.0.23 |
| install-only | Only install Forgejo and the Forgejo runner, do not launch them | `false` | false | | install-only | Only install Forgejo and the Forgejo runner, do not launch them | `false` | false |
@ -56,7 +56,7 @@ It can only be run on the `self-hosted` platform, running on a host with LXC ins
| --- | --- | | --- | --- |
| url | URL of the Forgejo instance | | url | URL of the Forgejo instance |
| host-port | Host and port of the Forgejo instance, e.g 172.0.17.2:3000 | | host-port | Host and port of the Forgejo instance, e.g 172.0.17.2:3000 |
| token | Administrator application token with all,sudo scopes | | token | Administrator application token with all scopes |
| runner-logs | Filename of the Forgejo runner logs | | runner-logs | Filename of the Forgejo runner logs |
| runner-file | Path to the runner file | | runner-file | Path to the runner file |
<!-- action-docs-outputs --> <!-- action-docs-outputs -->

View file

@ -64,7 +64,7 @@ outputs:
description: "Host and port of the Forgejo instance, e.g 172.0.17.2:3000" description: "Host and port of the Forgejo instance, e.g 172.0.17.2:3000"
value: "${{ steps.forgejo.outputs.host-port }}" value: "${{ steps.forgejo.outputs.host-port }}"
token: token:
description: "Administrator application token with all,sudo scopes" description: "Administrator application token with all scopes"
value: "${{ steps.forgejo.outputs.token }}" value: "${{ steps.forgejo.outputs.token }}"
runner-logs: runner-logs:
description: "Filename of the Forgejo runner logs" description: "Filename of the Forgejo runner logs"