Update .gitea/workflows/lint.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 5s
All checks were successful
Check with kubeconform / lint (push) Successful in 5s
This commit is contained in:
@ -12,6 +12,7 @@ jobs:
|
||||
- uses: bmuschko/setup-kubeconform@v1
|
||||
name: Setup Kubeconform
|
||||
- name: Kubeconform
|
||||
id: kubeconform
|
||||
continue-on-error: true
|
||||
run: |
|
||||
find . -name '*.yaml' \
|
||||
@ -20,12 +21,13 @@ jobs:
|
||||
-print0 \
|
||||
| xargs -0 kubeconform \
|
||||
-summary \
|
||||
-verbose \
|
||||
-output pretty \
|
||||
-output text \
|
||||
-ignore-missing-schemas \
|
||||
-schema-location default \
|
||||
-schema-location 'https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/kustomization.json' \
|
||||
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \
|
||||
-schema-location 'https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/kustomization.json'
|
||||
| tee kubeconform_output.txt
|
||||
|
||||
- name: Telegram notify on failure
|
||||
if: failure()
|
||||
uses: appleboy/telegram-action@master
|
||||
@ -33,5 +35,10 @@ jobs:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
${{ github.actor }} created commit
|
||||
❌ CI failed for ${{ github.repository }}
|
||||
👤 By: ${{ github.actor }}
|
||||
🧪 Commit: ${{ github.sha }}
|
||||
🧾 Errors:
|
||||
${{ steps.kubeconform.outputs.stdout }}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user