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/docs/understand_the_basics.md b/docs/understand_the_basics.md index 0fd7218d5890b..456ca08e65c0e 100644 --- a/docs/understand_the_basics.md +++ b/docs/understand_the_basics.md @@ -14,3 +14,5 @@ Before effectively using Argo CD, it is necessary to understand the underlying t * If you're integrating with a CI tool: * [GitHub Actions Documentation](https://docs.github.com/en/actions) * [Jenkins User Guide](https://www.jenkins.io/doc/book/) + +test \ No newline at end of file