diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 36859a2e60bc1..4b55c0904695e 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -26,19 +26,24 @@ jobs: changes: runs-on: ubuntu-latest outputs: - backend: ${{ steps.filter.outputs.backend }} - frontend: ${{ steps.filter.outputs.frontend }} + backend: ${{ steps.filter.outputs.backend_any_changed }} + frontend: ${{ steps.filter.outputs.frontend_any_changed }} steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2 + - uses: tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 # v42.0.2 id: filter with: # Any file which is not under docs/, ui/ or is not a markdown file is counted as a backend file - filters: | + files_yaml: | backend: - - '!(ui/**|docs/**|**.md|**/*.md)' + - '!ui/**' + - '!**.md' + - '!**/*.md' + - '!docs/**' + - '!.github/**' frontend: - 'ui/**' + - Dockerfile check-go: name: Ensure Go modules synchronicity if: ${{ needs.changes.outputs.backend == 'true' }} @@ -55,7 +60,7 @@ jobs: - name: Download all Go modules run: | go mod download - - name: Check for tidyness of go.mod and go.sum + - name: Check for tidiness of go.mod and go.sum run: | go mod tidy git diff --exit-code -- . diff --git a/ui/README.md b/ui/README.md index aec1971e6797d..e2637cd9f6cc3 100644 --- a/ui/README.md +++ b/ui/README.md @@ -22,4 +22,6 @@ Make sure your code passes the lint checks: ``` yarn lint --fix -``` \ No newline at end of file +``` + +test \ No newline at end of file