fix(ci): add workflow lint harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 13s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 20s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m43s

This commit is contained in:
2026-07-12 22:49:03 +09:00
parent 7e0d3ad5b0
commit add83a2a8f
3 changed files with 97 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
name: CI Workflow Lint
on:
pull_request:
branches: [ main ]
paths:
- ".gitea/workflows/ci.yml"
- "tools/validate_gitea_ci_workflow_lint_v1.py"
push:
branches: [ main ]
paths:
- ".gitea/workflows/ci.yml"
- "tools/validate_gitea_ci_workflow_lint_v1.py"
workflow_dispatch:
jobs:
validate-ci-workflow-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python Environment
run: |
/usr/bin/python3 --version
/usr/bin/python3 -m pip --version
/usr/bin/python3 -m pip install --disable-pip-version-check --quiet pyyaml
- name: Lint CI Workflow Contract
run: python3 tools/validate_gitea_ci_workflow_lint_v1.py --workflow .gitea/workflows/ci.yml