diff --git a/.gitea/workflows/fast-validation.yml b/.gitea/workflows/fast-validation.yml deleted file mode 100644 index f0a2cd18..00000000 --- a/.gitea/workflows/fast-validation.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Fast Validation - -on: - pull_request: - branches: [ main ] - workflow_dispatch: - -jobs: - quick-checks: - runs-on: ubuntu-latest - timeout-minutes: 2 - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - - - name: YAML Lint - run: | - python3 -m pip install -q yamllint - yamllint -c "{extends: default}" .gitea/workflows/*.yml || true - - - name: No Hardcoded Secrets - run: | - ! grep -r "Password=" .gitea/workflows/ --include="*.yml" | grep -v "secrets\." || exit 1 - - - name: JSON Validation - run: | - python3 -c " - import json, glob - for f in glob.glob('**/*.json', recursive=True): - try: - with open(f) as file: - json.load(file) - except Exception as e: - print(f'ERROR: {f}: {e}') - exit(1) - " - - - name: Report Complete - if: success() - run: echo "Fast validation passed"