chore: check generated files (#2582)

This commit is contained in:
Ludovic Fernandez 2025-07-12 15:10:25 +02:00 committed by GitHub
commit b0e3fd2682
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 6 deletions

View file

@ -39,6 +39,11 @@ jobs:
git diff --exit-code go.mod
git diff --exit-code go.sum
- name: Generate and Check generated elements
run: |
make generate-dns
git diff --exit-code
# https://golangci-lint.run/usage/install#other-ci
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
run: |

View file

@ -3495,8 +3495,8 @@ func displayDNSHelp(w io.Writer, name string) error {
ew.writeln()
ew.writeln(`Credentials:`)
ew.writeln(` - "ZONEEDIT_PASSWORD": Password`)
ew.writeln(` - "ZONEEDIT_USER_ID": User ID`)
ew.writeln(` - "ZONEEDIT_AUTH_TOKEN": Authentication token`)
ew.writeln(` - "ZONEEDIT_USER": User ID`)
ew.writeln()
ew.writeln(`Additional Configuration:`)

View file

@ -26,8 +26,8 @@ Configuration for [ZoneEdit](https://www.zoneedit.com).
Here is an example bash command using the ZoneEdit provider:
```bash
ZONEEDIT_USER_ID="xxxxxxxxxxxxxxxxxxxxx" \
ZONEEDIT_PASSWORD="xxxxxxxxxxxxxxxxxxxxx" \
ZONEEDIT_USER="xxxxxxxxxxxxxxxxxxxxx" \
ZONEEDIT_AUTH_TOKEN="xxxxxxxxxxxxxxxxxxxxx" \
lego --email you@example.com --dns zoneedit -d '*.example.com' -d example.com run
```
@ -38,8 +38,8 @@ lego --email you@example.com --dns zoneedit -d '*.example.com' -d example.com ru
| Environment Variable Name | Description |
|-----------------------|-------------|
| `ZONEEDIT_PASSWORD` | Password |
| `ZONEEDIT_USER_ID` | User ID |
| `ZONEEDIT_AUTH_TOKEN` | Authentication token |
| `ZONEEDIT_USER` | User ID |
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).