Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: skip SuperLinter check on .editorconfig when no changes (#22649)

Bowen Liangff8fc96ebbc6
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index b06ab9653e0..a283f8d5ca4 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -28,7 +28,7 @@ jobs:
- name: Check changed files
id: changed-files
- uses: tj-actions/changed-files@v45
+ uses: tj-actions/changed-files@v46
with:
files: |
api/**
@@ -75,7 +75,7 @@ jobs:
- name: Check changed files
id: changed-files
- uses: tj-actions/changed-files@v45
+ uses: tj-actions/changed-files@v46
with:
files: web/**
@@ -113,7 +113,7 @@ jobs:
- name: Check changed files
id: changed-files
- uses: tj-actions/changed-files@v45
+ uses: tj-actions/changed-files@v46
with:
files: |
docker/generate_docker_compose
@@ -144,7 +144,7 @@ jobs:
- name: Check changed files
id: changed-files
- uses: tj-actions/changed-files@v45
+ uses: tj-actions/changed-files@v46
with:
files: |
**.sh
@@ -152,13 +152,15 @@ jobs:
**.yml
**Dockerfile
dev/**
+ .editorconfig
- name: Super-linter
- uses: super-linter/super-linter/slim@v7
+ uses: super-linter/super-linter/slim@v8
if: steps.changed-files.outputs.any_changed == 'true'
env:
BASH_SEVERITY: warning
- DEFAULT_BRANCH: main
+ DEFAULT_BRANCH: origin/main
+ EDITORCONFIG_FILE_NAME: editorconfig-checker.json
FILTER_REGEX_INCLUDE: pnpm-lock.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IGNORE_GENERATED_FILES: true
@@ -168,16 +170,6 @@ jobs:
# FIXME: temporarily disabled until api-docker.yaml's run script is fixed for shellcheck
# VALIDATE_GITHUB_ACTIONS: true
VALIDATE_DOCKERFILE_HADOLINT: true
+ VALIDATE_EDITORCONFIG: true
VALIDATE_XML: true
VALIDATE_YAML: true
-
- - name: EditorConfig checks
- uses: super-linter/super-linter/slim@v7
- env:
- DEFAULT_BRANCH: main
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- IGNORE_GENERATED_FILES: true
- IGNORE_GITIGNORED_FILES: true
- # EditorConfig validation
- VALIDATE_EDITORCONFIG: true
- EDITORCONFIG_FILE_NAME: editorconfig-checker.json
diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml
index 37cfdc5c1ee..c3f8fdbaf6b 100644
--- a/.github/workflows/web-tests.yml
+++ b/.github/workflows/web-tests.yml
@@ -27,7 +27,7 @@ jobs:
- name: Check changed files
id: changed-files
- uses: tj-actions/changed-files@v45
+ uses: tj-actions/changed-files@v46
with:
files: web/**