1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-28 06:03:43 +00:00

build: check docs for edits of autogenerated sections

This adds a lint step which checks the top commit for edits to
autogenerated doc sections.
This commit is contained in:
Nick Craig-Wood
2025-03-10 10:31:50 +00:00
parent 6e7a3795f1
commit 6a7e68aaf2
2 changed files with 139 additions and 0 deletions

View File

@@ -226,6 +226,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Go
id: setup-go
@@ -289,6 +291,10 @@ jobs:
- name: Scan for vulnerabilities
run: govulncheck ./...
- name: Scan edits of autogenerated files
run: bin/check_autogenerated_edits.py
if: github.event_name == 'pull_request'
android:
if: inputs.manual || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name))
timeout-minutes: 30